24.11.2009, 17:41
Код:
public PingKick(playerid) { new s[128], Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, sizeof(Name)); if(GetPlayerPing(playerid) < 100) { format(s, sizeof(s), "%s has been kicked for high ping", Name); SendClientMessageToAll(ADMIN_RED, s); Kick(playerid); } return 1; }