addEventHandler("onClientVehicleStartExit", getRootElement(), function()
local x,y,z = getVehicleComponentRotation(source, "wheel_lf_dummy")
local x1,y1,z1 = getVehicleComponentRotation(source, "wheel_rf_dummy")
outputChatBox(x) -- work
print(setVehicleComponentRotation(source, "wheel_lf_dummy", x, y, z) ) -- true
setVehicleComponentRotation(source, "wheel_rf_dummy", x1, y1, z1)
end)
The script has no error. Returns the rotation of the wheel, returns true in the setVehicleComponentRotation but the wheel is not rotated. What is happening?
Result I'm looking for: