GetVehicleRotationQuat always returning {0.5, 0.5, 0.5, 0.5} after spawning
#8

It's an issue with SA-MP; you can't rely on GetVehicleRotationQuat when the vehicle isn't ocupied. Since the math plugin uses GetVehicleRotationQuat, it may return faulty information. GetVehicleZAngle, however, returns the right information even when the vehicle isn't ocupied. But you can't calculate the exact trunk location due to not taking the x and y rotations in consideration in the calculation.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)