DjoLe11

Untitled

Jul 27th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public CheckPing(playerid)
  2. {
  3. if(GetPlayerPing(playerid) > MAX_PING)
  4. Kick(playerid);
  5. return 1;
  6. }
  7. public updateping(playerid)
  8. {
  9. new ping[16];
  10. format(ping, sizeof(ping), "%d", GetPlayerPing(playerid));
  11. PlayerTextDrawSetString(playerid, PINGPING[playerid], ping);
  12. return 1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment