Problem OnRconLoginAttempt
#2

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success && strcmp(ip,"192.168.1.2",true))
    {
        new IP[20];
        for(new i=0;i<MAX_PLAYERS;i++)
        {
            GetPlayerIp(i,IP,20);
            if(strcmp(IP,ip,true))
            {
                BanEx(i, "Breaking RCON Password");
                break;
            }
        }
    }
    return 1;
}
Should work.
Reply


Messages In This Thread
Problem OnRconLoginAttempt - by NaTkAkN - 08.04.2012, 19:45
Re: Problem OnRconLoginAttempt - by [MG]Dimi - 08.04.2012, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)