04AA

From GTAMods Wiki
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. 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

See also

  • San Andreas 04A9, checks if the character is in a helicopter