Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public CheckPing(playerid)
- {
- if(GetPlayerPing(playerid) > MAX_PING)
- Kick(playerid);
- return 1;
- }
- public updateping(playerid)
- {
- new ping[16];
- format(ping, sizeof(ping), "%d", GetPlayerPing(playerid));
- PlayerTextDrawSetString(playerid, PINGPING[playerid], ping);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment