- Documentation
- Server functions
- getVehicleRotorState
Function
getVehicleRotorState
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)))