08.04.2012, 20:04
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;
}