SA-MP Forums Archive
Distance. - 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: Distance. (/showthread.php?tid=665847)



Distance. - Hazon - 18.04.2019

How to measure a distance between a point, correctly ?

Code:
IsPlayerInRangeOfPoint(...., ....., X,Y,Z)) return SCM(...., ...., " You must be withing x meters of point.



Re: Distance. - Logic_ - 18.04.2019

Check the SAMP wiki.


Re: Distance. - SyS - 19.04.2019

There's one native for the sole purpose GetPlayerDistanceFromPoint