Greedings,i made hunger thirst and wc bar,and i want to make number textdraw into the bar,but the textdraw i bugged only first is normal.Here is screenshot:
..
PHP код:
Potreby[0] = TextDrawCreate(566.333190, 125.703697, "100");
TextDrawLetterSize(Potreby[0], 0.286333, 1.425778);
TextDrawAlignment(Potreby[0], 1);
TextDrawColor(Potreby[0], -1);
TextDrawSetShadow(Potreby[0], 0);
TextDrawSetOutline(Potreby[0], 0);
TextDrawBackgroundColor(Potreby[0], 255);
TextDrawFont(Potreby[0], 1);
TextDrawSetProportional(Potreby[0], 1);
TextDrawSetShadow(Potreby[0], 0);
Potreby[1] = TextDrawCreate(565.333251, 141.881439, "100");
TextDrawLetterSize(Potreby[1], 0.286333, 1.425778);
TextDrawAlignment(Potreby[1], 1);
TextDrawColor(Potreby[1], -1);
TextDrawSetShadow(Potreby[1], 0);
TextDrawSetOutline(Potreby[1], 0);
TextDrawBackgroundColor(Potreby[1], 255);
TextDrawFont(Potreby[1], 1);
TextDrawSetProportional(Potreby[1], 1);
TextDrawSetShadow(Potreby[1], 0);
Potreby[2] = TextDrawCreate(564.666625, 159.718444, "100");
TextDrawLetterSize(Potreby[2], 0.286333, 1.425778);
TextDrawAlignment(Potreby[2], 1);
TextDrawColor(Potreby[2], -1);
TextDrawSetShadow(Potreby[2], 0);
TextDrawSetOutline(Potreby[2], 0);
TextDrawBackgroundColor(Potreby[2], 255);
TextDrawFont(Potreby[2], 1);
TextDrawSetProportional(Potreby[2], 1);
TextDrawSetShadow(Potreby[2], 0);
Textdraws are displayed in the order they are created. Re-order the textdraws so the black bars are created first, then the the colored bars and finally the text. Also try to use only whole numbers for positions for the best scaling across different resolutions.