ping kicker
#6

So it will look like this:

pawn Код:
public OnPlayerUpdate(playerid)
{
    new playername[MAX_PLAYER_NAME], string[128];
    if(GetPlayerPing(playerid) > 400 && GetPlayerPing(playerid) != 65535){
        GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
        SendClientMessage(playerid, COLOR_GREEN, "[KICKED] Max ping exceeded <400>");
        Kick(playerid);
        format(string, 128, "[KICK] %s has been kicked: Max Ping <400>", playername);
        SendClientMessageToAll(COLOR_GREEN, string);
    }
}
Reply


Messages In This Thread
ping kicker - by Face9000 - 06.11.2010, 17:05
Re: ping kicker - by ••• ĤБĶБM ••• - 06.11.2010, 17:09
Re: ping kicker - by Face9000 - 06.11.2010, 17:16
Re: ping kicker - by Mike_Peterson - 06.11.2010, 17:44
Re: ping kicker - by Alex_Valde - 06.11.2010, 17:44
Re: ping kicker - by Kwarde - 07.11.2010, 17:06

Forum Jump:


Users browsing this thread: 2 Guest(s)