also ich hab was versucht mit IsA....
das kam raus:
public IsABoat(carid)
{
if((bootecars)
{
return 1;
}
return 0;
}
public IsAPlane(carid)
{
if((planecars)
{
return 1;
}
return 0;
}
public IsACopCar(carid)
{
if((lspdcars)
{
return 1;
}
return 0;
}
public IsAnAmbulance(carid)
{
if((krankenwagencars)
{
return 1;
}
return 0;
}
public IsATruck(carid)
{
if((truckscars)
{
return 1;
}
return 0;
}
Errors:
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2250) : error 029: invalid expression, assumed zero
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2250) : warning 215: expression has no effect
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2252) : error 010: invalid function or declaration
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2259) : error 029: invalid expression, assumed zero
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2259) : warning 215: expression has no effect
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2261) : error 010: invalid function or declaration
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2268) : error 029: invalid expression, assumed zero
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2268) : warning 215: expression has no effect
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2270) : error 010: invalid function or declaration
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2277) : error 029: invalid expression, assumed zero
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2277) : warning 215: expression has no effect
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2279) : error 010: invalid function or declaration
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2286) : error 029: invalid expression, assumed zero
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2286) : warning 215: expression has no effect
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(2288) : error 010: invalid function or declaration
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(4983) : warning 209: function "IsABoat" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(4991) : warning 209: function "IsAPlane" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5021) : warning 209: function "IsACopCar" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5026) : warning 209: function "IsAnAmbulance" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5031) : warning 209: function "IsATruck" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5273) : warning 209: function "IsAPlane" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5677) : warning 209: function "IsAPlane" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5901) : warning 209: function "IsABoat" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(5908) : warning 209: function "IsAPlane" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(14736) : warning 209: function "IsATruck" should return a value
C:\Users\Sven Grabowski\Desktop\RL Server\gamemodes\gf.pwn(14798) : warning 209: function "IsATruck" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.