11.07.2014, 13:56
When I use GetPlayerVelocity or GetVehicleVelocity, what the numbers represents? (like m/s and km/h)
new Float:x,Float:y,Float:z;
GetVehicleVelocity(vehicleid,x,y,z);
YourSpeedInkmph=floatsqroot((x*x)+(y*y)+(z*z))*198;
YourSpeedInMPH=YourSpeedInkmph*0.621371192;
they are not in ms/kmph u need to convert them
like this pawn Код:
|