GetVehicleVelocity...
#3

Quote:
Originally Posted by -Alive
What I am doing wrong?
Almost everything.

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.
Reply


Messages In This Thread
GetVehicleVelocity... - by AiVAMAN - 03.09.2009, 17:23
Re: GetVehicleVelocity... - by BlackFoX - 03.09.2009, 17:30
Re: GetVehicleVelocity... - by kc - 03.09.2009, 17:37
Re: GetVehicleVelocity... - by AiVAMAN - 03.09.2009, 17:46
Re: GetVehicleVelocity... - by BlackFoX - 03.09.2009, 17:49
Re: GetVehicleVelocity... - by AiVAMAN - 03.09.2009, 17:51
Re: GetVehicleVelocity... - by [other]FreeWall - 03.09.2009, 17:53

Forum Jump:


Users browsing this thread: 2 Guest(s)