How do I kick players who have over 200 ping
#2

You don't have to use a timer for that purpose, a simple condition under OnPlayerUpdate would work perfectly fine as it's not much of a code either!

So an if conditions is really simple:
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerPing(playerid) > 200) {
        // kick goes in here, message etc
    }
        return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)