SA-MP Forums Archive
Need some help here - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need some help here (/showthread.php?tid=266396)



Need some help here - AgentZero - 04.07.2011

Hi all i need help on how to make an object keep moving for example have an object move to xyz coords and staying there for 10 seconds then after those 10 seconds are up it will move to another XYZ and after that it will go back to the original xyz if anyone could help it would be appreciated thanks.


Re: Need some help here - [HiC]TheKiller - 04.07.2011

Probably the best way is to use GetObjectPos to check when it has finished moving then put a timer on for 10 seconds and repeat the process.


Re: Need some help here - MadeMan - 04.07.2011

You can use OnObjectMoved too.