if (GetPlayerPing(playerid) > 500) {SendClientMessage(playerid, COLOR, "You have been kicked for having a high ping.");Kick(playerid);}