05.08.2013, 09:56
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : error 017: undefined symbol "foreach"
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And this is the line
stock IsVehicleOccupied(iVehicleID, iSeatID = 0) {
foreach(new x: Player) ;(GetPlayerVehicleID(x) == iVehicleID && GetPlayerVehicleSeat(x) == iSeatID);
return 1;
}
return 0;
}
What is wrong? :S
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\NQRP3Reported.pwn(2277) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And this is the line
stock IsVehicleOccupied(iVehicleID, iSeatID = 0) {
foreach(new x: Player) ;(GetPlayerVehicleID(x) == iVehicleID && GetPlayerVehicleSeat(x) == iSeatID);
return 1;
}
return 0;
}
What is wrong? :S