[AJUDA] Limitar 3 contas por IP
#1

Estгo colocando BOT no meu servidor, acabando com meus slots, peguei um anti bot na net e editei ele...mas nгo estб funcionando, continuam acabando com meu slots ai estб o codigo do meu Anti-Bot.

pawn Код:
//no OnPlayerConnect


    new PlayerIp[16][2], cons;
    GetPlayerIp(playerid, PlayerIp[0], 16);
    for(new i; i < MAX_PLAYERS; i++)
    {
        GetPlayerIp(i, PlayerIp[1], 16);
        if(strcmp(PlayerIp[0], PlayerIp[1], true) == 0)
        {
            cons++;
        }
    }
    if(cons > 3)
    {
        Kick(playerid);
    }

Se alguйm souber um jeito melhor para fazer ficaria muito grato ^^
Reply
#2

Kick nao funciona nesses bot's
Reply
#3

O que fazer entгo?
Reply
#4

Ban Ip ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)