04C9
Revision as of 09:20, 27 November 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|VC}} '''IS_PLAYER_IN_FLYING_VEHICLE''' <hr /> '''Description''' : Checks if the player is in a flying vehicle '''Syntax''' : 04C9: player [''player handle''] in_...")
Description
- Checks if the player is in a flying vehicle
Syntax
- 04C9: player [player handle] in_flying_vehicle
Parameter
- [player handle]
This conditional opcode returns true if the player is in a flying vehicle, either as a driver or a passenger. It behaves the same way as using both opcodes 04AA and 04AC together. This opcode is unsupported in San Andreas and is superseded by opcode 04C8. By default the game will recognize the following list of vehicles as flying vehicles (for which the IS_HELI or IS_PLANE flag is set in the handling.cfg file):
- Hunter
- Maverick
- Police Maverick
- RC Baron
- RC Goblin
- RC Raider
- Sea Sparrow
- Skimmer
- Sparrow
- VCN Maverick
Legacy documentation describes this as applying to just planes.
Keywords
player, driving, any, plane, heli, helicopter, flying, vehicle