[Ajuda] error: 017: undefined symbol "i"
#4

Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
Tente isto,

pawn Код:
if(!strcmp(cmdtext, "/dominar", true))
{
    if(!IsAreaInGangCheck(playerid)) SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Vocк nгo estб em nenhuma Gang Zone,FAIL");

    new Float, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);

    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));

    for (new i=0; i < GZS_CRIADAS; i++){
        if (x > CordGZs[i][0] && y > CordGZs[i][1] && x < CordGZs[i][2] && y < CordGZs[i][3]&& z < 500) {
            format(string, sizeof(string), "%s comeзou a dominar a gang zone %s.",name,NomesGZs[i]);
            GangZoneFlashForAll(GZCriadas[i], GetPlayerColor(playerid))
   
        }
    }
    SendClientMessageToAll(0xFFFF00AA, string);
   
    SetTimer("Terminar",60000,false);
    return 1;
}
Nгo esquece que ali й new Float:"x", Float:y, Float:z; , porque aqui no forum faz uma carinha.
Reply


Messages In This Thread
error: 017: undefined symbol "i" - by lekinho911 - 04.09.2013, 04:18
Re: error: 017: undefined symbol "i" - by Biieell - 04.09.2013, 05:14
Re: error: 017: undefined symbol "i" - by zSuYaNw - 04.09.2013, 05:19
Re: error: 017: undefined symbol "i" - by Biieell - 04.09.2013, 05:24

Forum Jump:


Users browsing this thread: 2 Guest(s)