-_- error on another gm
#1

this is the error im getting
Код:
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : error 017: undefined symbol "foreach"
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : error 029: invalid expression, assumed zero
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : error 017: undefined symbol "Player"
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
these are my lines having error no idea what to do

Код:
	foreach(new i: Player)
	{
 		SetPVarInt(i, "laser", 0);
   		SetPVarInt(i, "color", 18643);
     }
Reply
#2

#include <foreach> on top of your script.
Reply
#3

download foreach include from here http://www.solidfiles.com/d/694d30f354/foreach.inc
and put it in pawno/include file
then add this in a top of your script:
pawn Код:
#include <foreach>
then compile
Reply
#4

it is alredy there
Reply
#5

update it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)