23.07.2015, 23:45
I'd make a script that only allows your IP to attempt RCON log ins. Only you should have RCON.
This will only allow you to have access. Just set YOUR_IP_HERE to your IP.
This will only allow you to have access. Just set YOUR_IP_HERE to your IP.
pawn Code:
public OnRconLoginAttempt(ip[], password[], success)
{
if(strcmp(ip, "YOUR_IP_HERE", true))
{
new pip[16];
foreach(new i: Player)
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true))
Kick(i); //Kick'em out.
}
}
return 1;
}
