Calculating player's distance from a specific location.
#1

Hi people,

I want to calculate a player's distance from a given location. For example:

pawn Код:
187.124574, -1547.457456, 51.245541 //Player's position
1547.651242, 514.515450, 50.541244 // The point the I want to calculate how far this from players position.
And how do I convert this variable to mile, meter or anything I want.
Reply


Messages In This Thread
Calculating player's distance from a specific location. - by Emre__ - 12.06.2011, 08:53
Re: Calculating player's distance from a specific location. - by Vince - 12.06.2011, 11:19

Forum Jump:


Users browsing this thread: 1 Guest(s)