11.08.2011, 16:41
Search for the ping and remove it then add this under OnPlayerUpdate
pawn Код:
if(GetPlayerPing(playerid) > 1000) // edit if you want to
{
new Nam[MAX_PLAYER_NAME],str[128];
GetPlayerPos(playerid,Nam,sizeof(Name));
format(str,sizeof(str),"PINGBOT: %s has been kicked for having %d ping(MAX = 1000)",Nam,GetPlayerPing(playerid));
SendClientMessageToAll(0xFF0000FF,str);
Kick(playerid);
}