[Ajuda] Erro no detectador de bots
#1

o Comando em Zcmd:

pawn Код:
CMD:bots(playerid, params[])
{
    SendClientMessage(playerid,CorVermelho,"[Detectando...] Procurando Bots...");

    for(new i=0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            new ip[16];
            GetPlayerIp(playerid, ip, sizeof(ip));
            if(strcmp(ip, "255.255.255.255") == 0)
            {
                format(string,256,"[Detectado] Bot Detectado! IP: %d",ip);
                SendClientMessageToAll(CorVerde,string);
                Kick(playerid);
                return 0;
            }
        }
    }
    return 1;
}
Erros:
pawn Код:
C:\Users\Public\Pietro Publicos\gamemodes\newgm.pwn(207) : error 017: undefined symbol "string"
C:\Users\Public\Pietro Publicos\gamemodes\newgm.pwn(208) : error 017: undefined symbol "string"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Erro no detectador de bots - by Pietrotm2012 - 15.01.2013, 14:24
Re: Erro no detectador de bots - by Wellington1999 - 15.01.2013, 14:33
Re: Erro no detectador de bots - by Pietrotm2012 - 15.01.2013, 14:34
Re: Erro no detectador de bots - by Wellington1999 - 15.01.2013, 14:38
Re: Erro no detectador de bots - by Diogo123 - 15.01.2013, 14:38
Re: Erro no detectador de bots - by Pietrotm2012 - 15.01.2013, 14:39
Re: Erro no detectador de bots - by Diogo123 - 15.01.2013, 14:41
Re: Erro no detectador de bots - by tonisantolia - 15.01.2013, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)