[Ajuda] Problemas com ataques.
#9

Quote:
Originally Posted by Joao Pedro
Посмотреть сообщение
eu ja sabia desse rcon 0 pq o bruno cito no outro topico quando usei o search vo testar obrigado


Quote:
Originally Posted by Nill.Oliveira
Посмотреть сообщение
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success)
    {
        for(new i = 0, y = GetMaxPlayers(); i != y; i++)
        {
            new IP[16];
            GetPlayerIp(i, IP, 16);
            if(strcmp(ip, IP)) continue;
            new NickName[MAX_PLAYER_NAME];
            GetPlayerName(i, NickName, MAX_PLAYER_NAME);
            if(!strcmp(NickName, "Nill_Oliveira", true)
            {
                SendClientMessage(x, 0xFFFFFFFF, "Vocк estб autorizado а logar na RCON.");
            }
            else
            {
                SendClientMessage(x, 0xFFFFFFFF, "Vocк nгo estб autorizado a logar na RCON.");
                Kick(i); // ou Ban(i);
            }
        }
    }
    return 1;
}
meu sv ja tem isso mais obrigado tambйm!


+rep a todos que tentaram ajudar!
Reply


Messages In This Thread
Problemas com ataques. - by MegalodoN - 07.02.2013, 14:22
Re: Problemas com ataques. - by Nill.Oliveira - 07.02.2013, 14:28
Re: Problemas com ataques. - by XStylerX - 07.02.2013, 14:32
Re: Problemas com ataques. - by Don_Speed - 07.02.2013, 14:34
Re: Problemas com ataques. - by MegalodoN - 07.02.2013, 14:37
Re: Problemas com ataques. - by smiiir - 07.02.2013, 14:39
Re: Problemas com ataques. - by Joao Pedro - 07.02.2013, 14:40
Re: Problemas com ataques. - by Nill.Oliveira - 07.02.2013, 14:46
Re: Problemas com ataques. - by MegalodoN - 07.02.2013, 14:48

Forum Jump:


Users browsing this thread: 1 Guest(s)