04AC

From GTAMods Wiki
Revision as of 16:46, 16 June 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City IS_PLAYER_IN_ANY_PLANE


Description
Checks if the player is in a plane
Syntax
04AC:   player [player handle] in_any_plane
Parameter
[player handle]
The handle of the player

This conditional opcode returns true if the player 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):

  • Skimmer
  • RC Baron

This opcode was never called in the original script of Vice City.

Keywords

check, player, driving, any, plane

See also

  • San Andreas 04AB, checks if the character is in a plane