Player distance
#1

I just want to calculate the distance in KM/h between player and a checkpoint or any position. But I have no clue how to do that..

Can anyone help me ?
Reply
#2

1) Distance is calculated in KILOMETERS, and NOT KILOMETERS/HOUR (which is for velocity, or speed, as most guys know it (incorrectly))

2) Yes, you can. You can use distance formula from co-ordinate geometry, or just use GetPlayerDistanceFromPoint.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)