047E
Revision as of 10:30, 29 November 2015 by Spaceeinstein (talk | contribs)
Description
- Checks if the player is on a motorbike
Syntax
- 047E: player [player handle] on_any_bike
Parameter
- [player handle]
This conditional opcode returns true if the player is on a motorbike, either as a driver or a passenger. By default the game will recognize the following list of vehicles as motorbikes (for which the IS_BIKE flag is set in the handling.cfg file):
- Angel
- Faggio
- Freeway
- PCJ 600
- Pizza Boy
- Sanchez
This opcode works in GTA III but it doesn't seem to be of any use — the opcode only returns true if the player in a vehicle of type 5 (bike), which is not used by any vehicle in the game.
Keywords
check, player, driving, any, bike, motorbike, motorcycle
See also
- 047A, checks if a character is on a motorbike