Salut, cum as putea afla cat reprezinta o bucatica dintr-un progressbar facut din Textdraw.
Vreau sa fac un progressbar din td care o sa il folosesc la level-ul jucatorilor.
Textdraw-urile:
LvlProgress[0] = CreatePlayerTextDraw(playerid, 479.500000, 169.866668, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, LvlProgress[0], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, LvlProgress[0], 120.000000, 4.000000);
PlayerTextDrawAlignment(playerid, LvlProgress[0], 1);
PlayerTextDrawColor(playerid, LvlProgress[0], 10616636);
PlayerTextDrawSetShadow(playerid, LvlProgress[0], 0);
PlayerTextDrawSetOutline(playerid, LvlProgress[0], 0);
PlayerTextDrawFont(playerid, LvlProgress[0], 4);
LvlProgress[1] = CreatePlayerTextDraw(playerid, 538.500000, 159.288848, "Level 1 (3/3 respect)");
PlayerTextDrawLetterSize(playerid, LvlProgress[1], 0.139498, 0.934221);
PlayerTextDrawAlignment(playerid, LvlProgress[1], 2);
PlayerTextDrawColor(playerid, LvlProgress[1], -1);
PlayerTextDrawSetShadow(playerid, LvlProgress[1], 0);
PlayerTextDrawSetOutline(playerid, LvlProgress[1], 1);
PlayerTextDrawBackgroundColor(playerid, LvlProgress[1], 51);
PlayerTextDrawFont(playerid, LvlProgress[1], 2);
PlayerTextDrawSetProportional(playerid, LvlProgress[1], 1);
LvlProgress[2] = CreatePlayerTextDraw(playerid, 479.500000, 169.622222, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, LvlProgress[2], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, LvlProgress[2], 57.500000, 4.000000);
PlayerTextDrawAlignment(playerid, LvlProgress[2], 1);
PlayerTextDrawColor(playerid, LvlProgress[2], 7339919);
PlayerTextDrawSetShadow(playerid, LvlProgress[2], 0);
PlayerTextDrawSetOutline(playerid, LvlProgress[2], 0);
PlayerTextDrawFont(playerid, LvlProgress[2], 4);
Daca mai trebuie sa va arat ceva ca sa imi puteti explica mai bine spuneti si o sa va arat...