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



GetDistanceBetweenPoints - MerryDeer - 27.10.2016

Hi,

How GetDistanceBetweenPoints work? one of dimension have to pass distance? like different between X, and another X have to be distance? or no?


Re: GetDistanceBetweenPoints - iLearner - 27.10.2016

Explain your problem better.


Re: GetDistanceBetweenPoints - NeXoR - 27.10.2016

If you know what Vectors are, this should work for you, The example is a code of distance between points.
https://sampwiki.blast.hk/wiki/VectorSize