SA-MP Forums Archive
Animating the textdraw from left to right. - 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: Animating the textdraw from left to right. (/showthread.php?tid=364072)



Animating the textdraw from left to right. - Littlehelper - 29.07.2012

Hello guys,
I have a little problem over here.
I want my text draw to move from X = 333.000 Y = 133.000 to X = 202.000 Y = 133.000 and i want it to bounce back when it reaches to its destination.
Any help or example will be appreciated.


Re: Animating the textdraw from left to right. - Misiur - 29.07.2012

Sorry to tell you, but moving textdraws is not possible currently. Best guess would be to create timer, destroy old instance, and create new instance with slightly changed coordinates - but I don't know anything about possible performance, and resources load.


Re: Animating the textdraw from left to right. - Littlehelper - 29.07.2012

I see.