04AC

From GTAMods Wiki
Revision as of 08:27, 23 November 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|VC}} '''IS_PLAYER_IN_ANY_PLANE''' <hr /> '''Description''' : Checks if the player is in a plane '''Syntax''' : 04AC:   player [''player handle''] in_any_plane '''P...")
(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. It is unsupported in San Andreas and is superseded by opcode 04AB. 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

player, driving, any, plane