GetVehicleVelocity problem?
#1

Hi,
I have the following formula to calculate the speed of a vehicle (km/h):

Код:
new Float:v, Float:x, Float:y, Float:z;
GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
v = floatround((x + y + z) / 0.003, floatround_floor);
It doesn't work perfectly, I think.
Can anybody help me?
Reply


Messages In This Thread
GetVehicleVelocity problem? - by Superthijs - 08.07.2012, 17:26
Re: GetVehicleVelocity problem? - by coole210 - 08.07.2012, 17:47
Re: GetVehicleVelocity problem? - by Superthijs - 08.07.2012, 18:01
Re: GetVehicleVelocity problem? - by coole210 - 08.07.2012, 18:04
Re: GetVehicleVelocity problem? - by Superthijs - 08.07.2012, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)