03.09.2009, 17:37
Quote:
Originally Posted by -Alive
What I am doing wrong?
|
Only use OnPlayerUpdate if you have any clue what it does and how to use it.
GetVehicleVelocity doesn't return the speed, it returns whether the calling was successful or not. Hence why you are always getting 1.
You have to process the x y and z outputs of GetVehicleVelocity to work out the speed.