24.06.2013, 16:35
I've got this errors
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : error 017: undefined symbol "foreach"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : error 017: undefined symbol "Player"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Line :
When i do #define foreach and #define Player i've get this errors
2nd question: how can i disable that the car's wont despawn when you get out of the car ( LSPD cars etc)
3rd qustion: how can i put a checkpoint if i contract you and if i do /givemehit the hit wont go away.
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : error 017: undefined symbol "foreach"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : error 017: undefined symbol "Player"
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2273) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Line :
Код:
stock IsVehicleOccupied(iVehicleID, iSeatID = 0) { foreach(new x: Player) if(GetPlayerVehicleID(x) == iVehicleID && GetPlayerVehicleSeat(x) == iSeatID) { return 1; } return 0; }
Код:
C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(36) : warning 201: redefinition of constant/macro (symbol "foreach") C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2275) : error 029: invalid expression, assumed zero C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2275) : error 029: invalid expression, assumed zero C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2275) : warning 215: expression has no effect C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2275) : error 001: expected token: ";", but found "if" C:\Documents and Settings\Lisa\Bureaublad\SAMP Servers\NQRP3Reported.pwn(2275) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
3rd qustion: how can i put a checkpoint if i contract you and if i do /givemehit the hit wont go away.