05.05.2014, 17:32
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(!sucess)
{
format(string, sizeof(string), "{FF0000}AdmWarning{FFFF00}: %s is attempting to log on the Rcon.",sendername);
ABroadCast(COLOR_WHITE,string,100001);
Kick(sendername);
}
if(success)
{
format(string, sizeof(string), "{FF0000}AdmWarning{FFFF00}: %s has successfully logged it on the Rcon.",sendername);
ABroadCast(COLOR_WHITE,string,100001);
}
}

