26.05.2012, 22:33
pawn Код:
new string[128];
if (PlayerInfo[playerid][pAdmin] <1 || !IsPlayerAdmin(playerid))
{
if (GetPlayerPing(playerid) > 500)
{
format(string,sizeof(string),"[Server]: Player %s Have been kicked from server (High Ping, %d /500)",GetPlayerNameEx(playerid),GetPlayerPing(playerid));
SendClientMessageToAll(COLOR_DRED, string);
Kick(playerid);
}
}