Foreach problem
#1

Hello there, i'm getting 4 errors while compiling my gamemode,
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);
Anyone got a solution?
Reply


Messages In This Thread
Foreach problem - by eclipses - 30.10.2015, 14:20
Re: Foreach problem - by Scottylad - 30.10.2015, 14:22
Re: Foreach problem - by eclipses - 30.10.2015, 14:24
Re: Foreach problem - by Scottylad - 30.10.2015, 14:25
Re: Foreach problem - by eclipses - 30.10.2015, 14:27
Re: Foreach problem - by Scottylad - 30.10.2015, 14:28

Forum Jump:


Users browsing this thread: 3 Guest(s)