How do I avoid hackers?
#2

Well, make that only RCON admin can make admins and put this
Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	if(success)
	{
	    foreach(new i : Player)
	    {
	        if(!strcmp(GetPlayerIP(i), ip) && PlayerInfo[i][pAdmin] < 1999999999) // Here you put your Owner level so only that admin levels will be able to log into RCON
	        {
			    SendClientMessageToAll(COLOR_LIGHTRED, "SERVER: RCON Hacker was banned by ANTICHEAT, play safe!");
				Ban(i);
			}
		}
	}

	return 1;
}
Reply


Messages In This Thread
How a hacker just got himself admin ? - by Lester23 - 24.04.2017, 17:58
Re: How do I avoid hackers? - by ShadowMortar - 24.04.2017, 18:38
Re: How a hacker just got himself admin ? - by Variable™ - 24.04.2017, 20:52
Re: How do I avoid hackers? - by Elnino69 - 25.04.2017, 05:27
Re: How do I avoid hackers? - by Sew_Sumi - 25.04.2017, 06:45
Re: How do I avoid hackers? - by BR3TT - 25.04.2017, 06:55
Re: How do I avoid hackers? - by NaS - 25.04.2017, 17:58
Re: How do I avoid hackers? - by Astralis - 26.04.2017, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)