15.01.2010, 13:50
Obviously there is a IsPlayerInRangeOfPoint function, but I wanna do something like...
So then I could do something like...
Anybody know of any functions that I could do this with?
Код:
new Float:thedistance GetDistanceFromPlayerToPoint(playerid,X,Y,Z,thedistance);
Код:
format(string, sizeof(string), "Distance: %.0f",thedistance);