SA-MP Forums Archive
Textdraw 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: Textdraw timer (/showthread.php?tid=450811)



Textdraw timer - Dusan01 - 14.07.2013

How i can create textdraw to count down like timer to have minutes and seconds?


Re: Textdraw timer - DBan - 15.07.2013

I would imagine setting a timer to repeat every second, and under the callback, with the amount of seconds the player put in, you would subtract a second. Then, you would create the textdraw with the amount of seconds. If seconds == 60 then change the textdraw to display a minute.

You just have to brainstorm. There most likely are other ways to do this.