need help or suggestion about rcon
#2

PHP код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!
success)
    {
        new 
ipstring[16];
        
printf("[RCON] Failed login by %s password: %s"ippassword);
        foreach(new 
Player)
        {
            
GetPlayerIp(iipstringsizeof(ipstring));
            if(!
strcmp(ipipstringtrue))
                
printf("Failed login by %d password: %s"ipassword);
        }
    }
        else
        {
              
printf("User logged in RCON. IP: %s"ip);
        }
    return 
1;

Use this so you will see whats going on.
Reply


Messages In This Thread
need help or suggestion about rcon - by RedFall - 03.01.2018, 01:14
Re: need help or suggestion about rcon - by Amagida - 03.01.2018, 05:41
Re: need help or suggestion about rcon - by RedFall - 03.01.2018, 07:38
Re: need help or suggestion about rcon - by jasperschellekens - 03.01.2018, 08:54
Re: need help or suggestion about rcon - by RedFall - 04.01.2018, 12:27
Re: need help or suggestion about rcon - by Shravan859 - 04.01.2018, 12:59
Re: need help or suggestion about rcon - by RedFall - 24.04.2018, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)