public Ping()
{
new pName[MAX_PLAYER_NAME];
new string[128];
for(new i; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(GetPlayerPing(i) >= aPing && Spawn[i] == 1) {
GetPlayerName(i, pName, 24);
format(string,128,"%s[ID:%d] Foi kickado pelo administrador BOT [motivo: PING: %d]",pName,i,aPing);
SendClientMessageToAll(0xFF0000AA,string);
Kick(i);
}
}
}
}