Posts: 5
Threads: 1
Joined: Aug 2010
Reputation:
0
I been trying to figure this out, and cannot think of a way to do this.
I need to get a distance between 2 points. Anybody have any idea or some suggestions on how to do this?
Thanks, SR
Posts: 5
Threads: 1
Joined: Aug 2010
Reputation:
0
thanks, gona give it a try, will post back here with results
Posts: 5
Threads: 1
Joined: Aug 2010
Reputation:
0
It works for what I needed, thanks a lot.
Posts: 341
Threads: 18
Joined: Apr 2010
Reputation:
0
This is in meters? or Kilometers?
Posts: 342
Threads: 34
Joined: Jun 2011
Reputation:
0
IDK but I had to remove one in my code because of error.
But again, PAWNO is a very mysterious world.
Posts: 1,208
Threads: 36
Joined: Apr 2015
distance in integer, wtf
PHP код:
stock Float:GetDistanceBetweenPoints3D(Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2){
return VectorSize(x1-x2,y1-y2,z1-z2);
}