ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getVehicleWheelsRotation

Function

getVehicleWheelsRotation

ServerVehiclesTrilogy Hub only

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)

See also