Advertisement
Guest User

Untitled

a guest
Mar 30th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. if(PlayerInfo[i][pAdmin] >= 5)
  2. {
  3. new reports=0,cheaters=0;
  4. foreach(new id : Player)
  5. {
  6. if(strcmp(reporttext[id], "NULL", true) && reportcheater[id] == -1)
  7. {
  8. reports++;
  9. }
  10. if(reportcheater[id] != -1)
  11. {
  12. cheaters++;
  13. }
  14.  
  15. TextDrawShowForPlayer(id, AdminHUD);
  16. format(string, sizeof(string), "Tick: ~b~%d~w~ / Reports: ~r~%d~w~ / Cheaters: ~r~%d~w~ / FPS: ~g~%d~w~ / Ping: ~r~%d~w~ / Anim: ~y~%d~w~", GetServerTickRate(), reports, cheaters, PlayerInfo[pFPS], GetPlayerPing(id), GetPlayerAnimationIndex(id));
  17. TextDrawSetString(AdminHUD, string);}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement