06.04.2015, 01:12
I'm doubt if that's correct. That's about getVehicleSpeed in KM/H
Otherwise, if anyone knows any other way...
pawn Код:
new Float:x, Float:y, Float:z;
if(IsPlayerInAnyVehicle(playerid))
{
GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
return (floatsqroot(x * x + y * y + z * z) * 180.00);
}