27.04.2018, 16:21
Quote:
Yes you have to calculate it for every one. Requires a lot of testing and trieing. An example:
Код:
CapacityText[playerid] = CreatePlayerTextDraw(playerid, 32.000000, 290.000000, "Vehicle Capacity (0/10)"); PlayerTextDrawBackgroundColor(playerid, CapacityText[playerid], 255); PlayerTextDrawFont(playerid, CapacityText[playerid], 1); PlayerTextDrawLetterSize(playerid, CapacityText[playerid], 30.200000, 1.000000); PlayerTextDrawColor(playerid, CapacityText[playerid], -1); PlayerTextDrawSetOutline(playerid, CapacityText[playerid], 1); PlayerTextDrawSetProportional(playerid, CapacityText[playerid], 1); PlayerTextDrawSetSelectable(playerid, CapacityText[playerid], 0); CapacityBar[playerid] = CreatePlayerProgressBar(playerid, 30.000000, 304.000000, 118.500000, 6.199999, -1429936641, TRASH_LIMIT, 0); |
after removing that its fixed ok