Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new PlayerText:HUD[1][MAX_PLAYERS];
- HUD[0][playerid] = CreatePlayerTextDraw(playerid,2.000000, 434.000000, " ");
- PlayerTextDrawBackgroundColor(playerid,HUD[0][playerid], 255);
- PlayerTextDrawFont(playerid,HUD[0][playerid], 2);
- PlayerTextDrawLetterSize(playerid,HUD[0][playerid], 0.300000, 0.499999);
- PlayerTextDrawColor(playerid,HUD[0][playerid], COLOR_WHITE);
- PlayerTextDrawSetOutline(playerid,HUD[0][playerid], 0);
- PlayerTextDrawSetProportional(playerid,HUD[0][playerid], 1);
- PlayerTextDrawSetShadow(playerid,HUD[0][playerid], 1);
- PlayerTextDrawSetSelectable(playerid,HUD[0][playerid], 0);
- if(PlayerInfo[playerid][pAdmin] >= 6)
- {
- new string[256],reports=0,cheaters=0,id;
- if(strcmp(reporttext[id], "NULL", true))
- {
- reports++;
- }
- if(strcmp(cheattext[id], "NULL", true))
- {
- cheaters++;
- }
- if(reportcheater[id] != -1)
- {
- cheaters++;
- }
- format(string,sizeof(string),"FPS: %d / ANIM: %d / TICKS: %d / REPORTS :%d / CHEATERS: %d/ QUERIES: %d / PING: %d",PlayerInfo[playerid][pFPS], GetPlayerAnimationIndex(playerid), GetServerTickRate(), reports, cheaters, mysql_unprocessed_queries(), GetPlayerPing(playerid));
- PlayerTextDrawSetString(playerid, HUD[0][playerid], string);
- PlayerTextDrawShow(playerid, HUD[0][playerid]);
- }
Advertisement
Add Comment
Please, Sign In to add comment