SA-MP Forums Archive
Timer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Timer (/showthread.php?tid=626924)



Timer - Thanks - 21.01.2017

Hi? Why my timer is not moving? When missions started its still 6:00 ... help

Код:
new Timer1;

    Timer1 = TextDrawCreate(549.000000, 30.000000, "6:00");
	TextDrawBackgroundColor(Timer1, 255);
	TextDrawFont(Timer1, 1);
	TextDrawLetterSize(Timer1, 0.6599, 1.200000);
	TextDrawColor(Timer1, -1);
	TextDrawSetOutline(Timer1, 1);
	TextDrawSetProportional(Timer1, 1);
How to fix timer? its not count...


Re: Timer - Swedky - 21.01.2017

It no gives you errors? Timer1 should have "Text:" tag.
Anyway, you should use "TextDrawSetString" and "format" to change TDs text.