GetVehicleRotorState

From Multi Theft Auto: Wiki
Revision as of 02:27, 31 December 2024 by FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22862|This function returns a vehicle's (plane or helicopter) rotor state (on or off).}} ==Syntax== <syntaxhighlight lang="lua"> bool getVehicleRotoState ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getRotorState|rotorState|setVehicleRotorState}} ===Required Arguments=== *'''theVehicle''': the vehicle you wish to get the engine state of. ===Returns=== Returns '''true''' if the vehicle's...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22862:
This function returns a vehicle's (plane or helicopter) rotor state (on or off).

Syntax

bool getVehicleRotoState ( vehicle theVehicle )


OOP Syntax Help! I don't understand this!

Method: vehicle:getRotorState(...)
Variable: .rotorState
Counterpart: setVehicleRotorState


Required Arguments

  • theVehicle: the vehicle you wish to get the engine state of.

Returns

Returns true if the vehicle's rotor is started, false otherwise.

Example

Accessories-text-editor.png Script Example Missing Function GetVehicleRotorState needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


See Also