30.03.2017, 03:15
The code works fine but it won't tell the player before he gets kicked.
Код:
new string[256];
format(string, sizeof(string), "SERVER: %s has been kick for Excessive Ping!", GetName(playerid));
if(GetPlayerPing(playerid) > 50)
{
Kick(playerid);
SendClientMessageToAll(COLOR_SERVER, string);
}

