GetVehicleRotorState: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(No difference)

Latest revision as of 02:28, 31 December 2024

ADDED/UPDATED IN VERSION 1.6.0 r22862:
This function returns a vehicle's (plane or helicopter) rotor state (on or off).
[[{{{image}}}|link=|]] Note: The function should not be confused with getVehicleEngineState.

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