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

Hello everyone I am very new to scripting and I have a question, how do I use GetPlayerPing so it kicks players who have over 200 ping? I attempted to script it but it gave me a bunch of errors and I have no idea where to put the functions etc and if it's meant to go in OnGameModeInit or elsewhere so yeah I have no idea about scripting and thats why I am asking I hope someone can help me with this problem.

The code so far is :

public OnPlayerConnect(playerid)
{
SetTimerEx("PingCheck", 1000, 1, "i", playerid);

return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)