SA-MP Forums Archive
isobjectinrange of point? - 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: isobjectinrange of point? (/showthread.php?tid=126258)



isobjectinrange of point? - braduz - 07.02.2010

Im stuck on trying to make an object move to an location then when its at those coords move it again
I doubt its possible but :/


Re: isobjectinrange of point? - ¤Adas¤ - 07.02.2010

Use OnObjectMoved. It is called, when object stops moving.


Re: isobjectinrange of point? - [HiC]TheKiller - 07.02.2010

Just mod PlayerToPoint.


Re: isobjectinrange of point? - braduz - 07.02.2010

Quote:
Originally Posted by ¤Adas¤
Use OnObjectMoved. It is called, when object stops moving.
Note: SetObjectPos does not work when used in this callback. To fix it, delete and recreate the object. -.-