Advertisement
Guest User

Untitled

a guest
May 2nd, 2020
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. if(PlayerInfo[playerid][pAdmin] >= 1)
  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(playerid, AdminHUD);
  16. format(string, sizeof(string), "Reports: ~g~%d~w~ Cheaters: ~b~%d", reports, cheaters);
  17. TextDrawSetString(AdminHUD, string);
  18. }
  19. else
  20. {
  21. TextDrawHideForPlayer(playerid, AdminHUD);
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement