- Documentation
- Server functions
- getVehicleWheelsRotation
Function
getVehicleWheelsRotation
Returns the wheel rotations stored with setVehicleWheelsRotation.
Syntax
float, float, float, float getVehicleWheelsRotation(vehicle vehicle)Arguments
vehiclevehicle- The vehicle.
Returns
Rear left, rear right, front left, front right.
Example
local vehicle = createVehicle(411, 2000, -1690, 13.5)
local rl, rr, fl, fr = getVehicleWheelsRotation(vehicle)