Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- new reports=0,cheaters=0;
- foreach(new id : Player)
- {
- if(strcmp(reporttext[id], "NULL", true) && reportcheater[id] == -1)
- {
- reports++;
- }
- if(reportcheater[id] != -1)
- {
- cheaters++;
- }
- }
- TextDrawShowForPlayer(playerid, AdminHUD);
- format(string, sizeof(string), "Reports: ~g~%d~w~ Cheaters: ~b~%d", reports, cheaters);
- TextDrawSetString(AdminHUD, string);
- }
- else
- {
- TextDrawHideForPlayer(playerid, AdminHUD);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement