[Ajuda] Anti Login Rcon
#8

'-' [...]
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    new Nome[24];
    for(new i = 0; i < MAX_PLAYERS; ++ i){
        GetPlayerName(i, Nome, 24);
        if(strfind(Nome(i),"Pedro_Eduardo",true)){
            return 1;
        }else{
            Kick(i);
        }
    }
    return 1;
}

stock Nome(playerid)
{
    new pNome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pNome, 24);
    return pNome;
}
acho q ta certo .. .-.
Reply


Messages In This Thread
Anti Login Rcon - by galazoiadria - 03.10.2016, 14:23
Re: Anti Login Rcon - by F1N4L - 03.10.2016, 14:30
Re: Anti Login Rcon - by nasser - 03.10.2016, 14:30
Re: Anti Login Rcon - by BobbMarley - 03.10.2016, 14:32
Re: Anti Login Rcon - by RodrigoMSR - 03.10.2016, 14:50
Re: Anti Login Rcon - by FalcaoNC - 03.10.2016, 19:10
Respuesta: Re: Anti Login Rcon - by SammyJ - 03.10.2016, 21:02
Re: Anti Login Rcon - by PedroEduardo - 03.10.2016, 21:23
Re: Anti Login Rcon - by HeisenGiromB - 04.10.2016, 17:41
Re: Anti Login Rcon - by F1N4L - 04.10.2016, 17:48

Forum Jump:


Users browsing this thread: 2 Guest(s)