30.10.2015, 14:20
Hello there, i'm getting 4 errors while compiling my gamemode,
This is the errors I am getting
Anyone got a solution?
This is the errors I am getting
Код:
C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(3900) : error 017: undefined symbol "foreach" C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(3900) : error 029: invalid expression, assumed zero C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(3900) : error 017: undefined symbol "Player" C:\Users\Admin\Desktop\AMRP\gamemodes\AMRP.pwn(3900) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
{ foreach(new i: Player) if(GetPlayerVehicleID(i) != 0 && GetPlayerVehicleID(i) == GetPlayerVehicleID(index)) { PlayAudioStreamForPlayer(i, data);