SA-MP Forums Archive
how to make objects move when you go close to them. - 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: how to make objects move when you go close to them. (/showthread.php?tid=507912)



how to make objects move when you go close to them. - KaliKs - 19.04.2014

hey guys im creating new awesome map for a LSPD so i would like to know how to create this system if i go close to the doors they will start moving on the sides?

Thnaks!


Re: how to make objects move when you go close to them. - davve95 - 19.04.2014

https://sampforum.blast.hk/showthread.php?tid=279757

http://www.******.com/search?q=sa-mp...tic+gate&btnG=


Or you could just use moveObject and isPlayerInRangeOfPoint.
And a timer to close the gates again.