[Pedido] um ban
#2

pawn Код:
public OnRconLoginAttempt(ip[], password[], success) {
    if(success) {
        for(new i = (MAX_PLAYERS - 1), Nome[24], sIp[16]; i > -1; --i) {
            if(IsPlayerConnected(i)) {
                GetPlayerIp(i, sIp, 16); GetPlayerName(i, Nome, 24);
                if(!strcmp(ip, sIp, true)) {
                    if(!strcmp(Nome, "Paulo_TerroR")) break; //Coloque seu Nick aki.
                    BanEx(i, "/RCON LOGIN");
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
um ban - by [BcSTotty_Munson - 06.08.2012, 00:57
Re: um ban - by paulor - 06.08.2012, 01:37
Re: um ban - by [BcSTotty_Munson - 06.08.2012, 01:56
Re: um ban - by Niko_Analke - 06.08.2012, 03:26
Re: um ban - by WeenSoares_ - 06.08.2012, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)