[Ajuda] Anti Login Rcon
#7

@edit

PHP код:
static Permission[] = 
{
    
"Glederson_Dom",
    
"Dom",
    
"Fulano"
};
public 
OnRconLoginAttempt(ip[], password[], success)
{
    static
        
pIP[20], pName[MAX_PLAYER_NAME];
    if(
success)
    {
        for(new 
iGetMaxPlayers(); i++)
        {
            
GetPlayerIp(ipIPsizeof(pIP));
            if(
strcmp(pIPiptrue) != 0) continue;
            
GetPlayerName(ipNamesizeof(pName));
            for(new 
p=0sizeof(Permission); ++p){
                if(
strcmp(pNamePermission[p], false))
                {
                    
SendClientMessage(iCOR_GREEN"Vocк nгo estб autorizado a logar na RCON");
                    
Kick(i);
                }
            }
        }
    }

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: 3 Guest(s)