Jump to content

[REZOLVAT] /hud admin


zeca
 Share

Recommended Posts

new PlayerText:ServerBar[MAX_PLAYERS];
ServerBar[playerid] = CreatePlayerTextDraw(playerid, 326.266326, 435.185211, "~w~FPS:_%d_/_REPORTS:_~r~%d_~w~/_QUESTIONS:_~g~%d_~w~/_PING:_~y~%d_~w~/_TICK:_~b~%d_~w~/_HEALTH:_~r~%.1f_~w~/_ARMOR:_~p~%.1f");
PlayerTextDrawLetterSize(playerid, ServerBar[playerid], 0.18000, 1.275111);
PlayerTextDrawAlignment(playerid, ServerBar[playerid], 2);
PlayerTextDrawColor(playerid, ServerBar[playerid], -1);
PlayerTextDrawSetShadow(playerid, ServerBar[playerid], 0);
PlayerTextDrawSetOutline(playerid, ServerBar[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, ServerBar[playerid], 255);
PlayerTextDrawFont(playerid, ServerBar[playerid], 2);
PlayerTextDrawSetProportional(playerid, ServerBar[playerid], 1);
PlayerTextDrawSetShadow(playerid, ServerBar[playerid], 0);

In momentul in care un jucator s-a logat, verifica daca are admin > 0. Daca are, ii afisezi acest playertext (si modifici tu string-ul conform variabilelor tale), si il actualizezi din secunda in secunda.

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...