SA-MP Forums Archive
TextDraw in 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 in timer (/showthread.php?tid=409487)



TextDraw in timer - iWhite - 21.01.2013

How to use TextDraw ID for timer?

Like:

Код:
new Text:textdraw = TextDrawCreate...
SetTimerEx("Textdraw", 5000, false, "i", textdraw);
But i got an error...


Re: TextDraw in timer - Jeffry - 21.01.2013

pawn Код:
SetTimerEx("Textdraw", 5000, false, "i", _:textdraw);
At the timer's function, add 'Text:' infront of the ID again then.


Re: TextDraw in timer - iWhite - 21.01.2013

Tried, same...


Re: TextDraw in timer - DaRk_RaiN - 21.01.2013

Idk why you want that but why not show the textdraw then set a timer to hide it.


Re: TextDraw in timer - Jeffry - 21.01.2013

Full code please.