problem with code
#1

Problem:

Код:
 D:\SA-MP GameModes\COD6 (Windows)\gamemodes\COD6.pwn(4683) : error 017: undefined symbol "foreach"
D:\SA-MP GameModes\COD6 (Windows)\gamemodes\COD6.pwn(4683) : error 029: invalid expression, assumed zero
D:\SA-MP GameModes\COD6 (Windows)\gamemodes\COD6.pwn(4683) : error 017: undefined symbol "Player"
D:\SA-MP GameModes\COD6 (Windows)\gamemodes\COD6.pwn(4683) : fatal error 107: too many error messages on one line

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


4 Errors.
Lines:

Код:
	SetTimer("ZoneBonouses", 30000, true);
	SetTimer("ZoneStats", 1000, true);
	SetTimer("UpdateLaunchTime", 60000, true);

	foreach(new i: Player); // line 4683
	{
 		SetPVarInt(i, "laser", 0);
   		SetPVarInt(i, "color", 18643);
     }
Reply
#2

SetTimer("ZoneBonouses", 30000, true);
SetTimer("ZoneStats", 1000, true);
SetTimer("UpdateLaunchTime", 60000, true);

foreach(new i: Player) // line 4683
{
SetPVarInt(i, "laser", 0);
SetPVarInt(i, "color", 18643);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)