C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : error 017: undefined symbol "foreach" C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : error 029: invalid expression, assumed zero C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : error 017: undefined symbol "i" C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Coloque essa include no seu pawno: http://pastebin.com/Seseuh2x
|
C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : error 017: undefined symbol "foreach"
C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : error 029: invalid expression, assumed zero
C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : error 017: undefined symbol "i"
C:\Users\Vinicius\Desktop\BZG\gamemodes\BZG.pwn(999) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
CMD:trazertodos(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 3)
return SendClientMessage(playerid, COR_CINZA, "Vocк nгo й Administrador Level 3!");
new equipe, Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(sscanf(params, "d", equipe))
return SendClientMessage(playerid, COR_CINZA, "USE: /trazertodos [1 ou 2] (1 = Zombies | 2 = Sobreviventes)");
new rand = random(3);
foreach(new i : Player) //---linha 999
if(PlayerInfo[i][pEquipe] == equipe) SendClientMessage(playerid, COR_VERMELHO, "O Administrador trouxe vocк atй ele!"), SetPlayerPos(i, X+rand, Y+rand, Z);
return 1;
}