26.05.2012, 21:18
As i dont have any way to test it I ask simple Question "Will it work"
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);
}