[Pedido] URGENTE
#9

Minha Proteзгo deve te ajuda!

PHP код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(
success)
    {
        for(new 
0GetMaxPlayers(); != yx++)
        {
            new 
IP[16];
            
GetPlayerIp(xIP16);
            if(
strcmp(ipIP)) continue;
               new 
NickName[MAX_PLAYER_NAME];
               
GetPlayerName(xNickNameMAX_PLAYER_NAME);
             if(!
strcmp(NickName"SEU_NICK_IN-GAME"true)) // Autorize apenas seu NICK na RCON do Servidor, Caso vocк seja o unico a ter acesso a Rcon do servidor.
            
{
                
SCM(x0x00FF00FF"Vocк estб autorizado a logar na RCON.");
            }
            else
            {
                
SCM(xCOR_ERRO"Vocк nгo estб autorizado a logar na RCON.");
                
Kick(x);
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
URGENTE - by MtPlayerZ - 22.01.2017, 10:58
Isto nгo й urgente! - by RazorGuigo - 22.01.2017, 11:02
Re: Isto nгo й urgente! - by MtPlayerZ - 22.01.2017, 11:10
Re: URGENTE - by RodrigoMSR - 22.01.2017, 11:19
Re: URGENTE - by RazorGuigo - 22.01.2017, 11:20
Re: URGENTE - by MtPlayerZ - 22.01.2017, 12:19
Re: URGENTE - by SmokiieGamer - 22.01.2017, 13:35
Re: URGENTE - by IlanZ - 22.01.2017, 15:19
Re: URGENTE - by JhefTFJ - 22.01.2017, 15:29

Forum Jump:


Users browsing this thread: 4 Guest(s)