04AA

From GTAMods Wiki
Revision as of 20:18, 26 November 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|VC}} '''IS_PLAYER_IN_ANY_HELI''' <hr /> '''Description''' : Checks if the player is in a helicopter '''Syntax''' : 04AA:   player [''player handle''] in_any_heli '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City IS_PLAYER_IN_ANY_HELI


Description

Checks if the player is in a helicopter

Syntax

04AA:   player [player handle] in_any_heli

Parameter

[player handle]
The handle of the player

This conditional opcode returns true if the player is in a helicopter, either as a driver or a passenger. It is unsupported in San Andreas and is superseded by opcode 04A9. By default the game will recognize the following list of vehicles as helicopters (for which the IS_HELI flag is set in the handling.cfg file):

  • Hunter
  • Maverick
  • Police Maverick
  • RC Goblin
  • RC Raider
  • Sea Sparrow
  • Sparrow
  • VCN Maverick

Keywords

player, driving, any, helicopter, heli