GetHelicopterRotorSpeed

From Multi Theft Auto: Wiki
Revision as of 16:50, 9 June 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Retrieves the speed at which the rotor of a helicopter rotates. This is 0 when the helicopter is parked, and about 0.2 when it is fully spun up. ==Syntax== <...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Retrieves the speed at which the rotor of a helicopter rotates. This is 0 when the helicopter is parked, and about 0.2 when it is fully spun up.

Syntax

float getHelicopterRotorSpeed ( vehicle heli )

Required Arguments

  • heli: the helicopter element to change the rotor speed of.

Returns

Returns the rotor speed if successful, false otherwise (an invalid element or a vehicle element that is not a helicopter was passed).

See Also