SA-MP Forums Archive
Any way to know when an object is in range of a 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)
+--- Thread: Any way to know when an object is in range of a point? (/showthread.php?tid=375345)



Any way to know when an object is in range of a point? - gnoomen2 - 06.09.2012

Or near another object, not near a player, come with examples please, thanks.

Function or include or?

Think i have found a solution, but you guys can come with suggestions anyway.


Re: Any way to know when an object is in range of a point? - Vince - 06.09.2012

GetObjectPos. GetDistanceBetweenPoints. IsPlayerInRangeOfPoint.


Re: Any way to know when an object is in range of a point? - gnoomen2 - 06.09.2012

Ay Ay, thank you very much