15.08.2015, 23:38
Hey guys i created an Textdraw but its not working well.
TextDraw
TextDraw String
Time Tested at GameText and works well at TextDraw time doesnt count down only stands 120seconds
TextDraw
Код HTML:
Textdraw4 = TextDrawCreate(544.799987, 368.106689, "Timee"); TextDrawLetterSize(Textdraw4, 0.449999, 1.600000); TextDrawAlignment(Textdraw4, 1); TextDrawColor(Textdraw4, -1); TextDrawSetShadow(Textdraw4, 0); TextDrawSetOutline(Textdraw4, 1); TextDrawBackgroundColor(Textdraw4, 51); TextDrawFont(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1);
Код HTML:
new strg[164]; format(strg, sizeof(strg), "%02d sec", 120-GetPVarInt(playerid, "robbingtime")); TextDrawSetString(Textdraw4,strg);
Time Tested at GameText and works well at TextDraw time doesnt count down only stands 120seconds