SA-MP Forums Archive
Timer Help - 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 Help (/showthread.php?tid=420282)



Timer Help - KP2 - 04.03.2013

Hello!
I have a problem. I want to move a moving object to the designated position then back to its original position. Problem is, I need to use a timer. How to make one timer move an object to two places? Please help, its important


Re: Timer Help - KP2 - 04.03.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
You don't need the timer to move the object to two places, only to the original place again. Call "MoveObject" and "SetTimerEx" at the same time, with the "MoveObject" going to the designated position, and the code in the timer to return the object.
Thank you ****** for your support.
Please could you explain the code a little further?

Oh, Sorry. I figured it out! Thank you!