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

Function

getVehicleRotorState

ServerVehiclesIdentical to MTA:SA

Returns the value stored with setVehicleRotorState (true by default).

Syntax

bool getVehicleRotorState(vehicle vehicle)

Arguments

vehiclevehicle
The helicopter.

Returns

The stored value.

Example

local heli = createVehicle(487, 1765, -2290, 14)
outputDebugString(tostring(getVehicleRotorState(heli)))

See also