Is there a GetDistanceFromPlayerToPoint function?
#1

Obviously there is a IsPlayerInRangeOfPoint function, but I wanna do something like...

Код:
new Float:thedistance
GetDistanceFromPlayerToPoint(playerid,X,Y,Z,thedistance);
So then I could do something like...

Код:
format(string, sizeof(string), "Distance: %.0f",thedistance);
Anybody know of any functions that I could do this with?
Reply


Messages In This Thread
Is there a GetDistanceFromPlayerToPoint function? - by Celson - 15.01.2010, 13:50
Re: Is there a GetDistanceFromPlayerToPoint function? - by Correlli - 15.01.2010, 13:53
Re: Is there a GetDistanceFromPlayerToPoint function? - by Celson - 15.01.2010, 14:01

Forum Jump:


Users browsing this thread: 1 Guest(s)