Calculate speed
#5

Okay I understand now that you want the length of the vector to get how far you have gone. But if you get the length to be 5units per 1 second, isn't that your speed then? Let's say you take GetVehicleVelocity… And then you divide by the time which would be one second if you set a timer to do it each one second? And a unit can be compered to a meter, then can't you just remake it by multiplying 3,6 to get it into km/h? Or is GetVehicleVelocity really undefined of what it actually gives for values? If so, why haven't the SA-MP team explained it?
Reply


Messages In This Thread
Calculate speed - by Hansrutger - 26.12.2013, 22:47
Re: Calculate speed - by Pottus - 26.12.2013, 23:36
Re: Calculate speed - by Hansrutger - 26.12.2013, 23:55
AW: Calculate speed - by Nero_3D - 27.12.2013, 02:23
Re: Calculate speed - by Hansrutger - 27.12.2013, 12:49
AW: Calculate speed - by Nero_3D - 27.12.2013, 15:06
Re: AW: Calculate speed - by Hansrutger - 27.12.2013, 15:30
AW: Calculate speed - by Nero_3D - 27.12.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)