04AB

From GTAMods Wiki
Jump to navigation Jump to search

San Andreas IS_CHAR_IN_ANY_PLANE


Description
Checks if the character is in a plane
Syntax
04AB:   actor [char handle] driving_plane
Parameter
[char handle]
The handle of the character
Native analog
IS_CHAR_IN_ANY_PLANE

This conditional opcode returns true if the character is in a plane, either as a driver or a passenger. By default the game will recognize the following list of vehicles as planes (for which the IS_PLANE flag is set in the handling.cfg file):

  • Andromada
  • AT-400
  • Beagle
  • Cropduster
  • Dodo
  • Hydra
  • Nevada
  • RC Baron
  • Shamal
  • Skimmer
  • Stuntplane

Keywords

check, actor, character, driving, flying, piloting, operating, any, plane

See also

  • Vice City 04AC, checks if the player is in a plane