OnRconLoginAttempt is a spam?
#4

Try this, it worked for me:

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!success)
    {
        new pIp[30], name[24];
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            GetPlayerIp(i, pIp, sizeof(pIp));
            if(strcmp(ip, pIp, true) == 0 && IsPlayerConnected(i))
            {
                GetPlayerName(i, name, 24);
                printf("Rcon Login Attempt by %s(%s) using password: %s", name, ip, password);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
OnRconLoginAttempt is a spam? - by [NWA]Hannes - 22.08.2010, 19:55
Re: OnRconLoginAttempt is a spam? - by Scenario - 22.08.2010, 20:00
Re: OnRconLoginAttempt is a spam? - by CJ101 - 22.08.2010, 20:00
Re: OnRconLoginAttempt is a spam? - by Mikkel_Pedersen - 22.08.2010, 20:25

Forum Jump:


Users browsing this thread: 3 Guest(s)