07.07.2012, 07:12
Funeral.
Didn't work
Didn't work
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
new str[128];
if(success)
{
foreach(Player, i)
{
if(strcmp(IP, ip))
continue;
if(strcmp(GetpName(i), "[iP]Justine", true) == 0
|| strfind(GetpName(i), "Avi", false) != 1
|| strfind(GetpName(i), "Anonymous", false) != 1)
{
SendClientMessage(i, COLOR_GREEN, "*** You are the owner, You are now login as RCON Admin ***");
}
else
{
format(str, sizeof(str), "%s(%d) has been kicked by Anticheat for Rcon Accessing (Not Owner)", GetpName(i), i);
SendClientMessageToAll(COLOR_RED, str);
SendClientMessage(i, COLOR_RED, "*** You are not the owner, You are kick from the server ***");
Kick(i);
}
break;
}
}
return 1;
}