04A8
Revision as of 06:58, 23 December 2016 by Spaceeinstein (talk | contribs)
- Description
- Checks if the player is in a boat
- Syntax
- 04A8: player [player handle] in_any_boat
- Parameter
- [player handle]
- The handle of the player
This conditional opcode returns true if the player is in a boat, either as a driver or a passenger. By default the game will recognize the following list of vehicles as boats (for which the IS_BOAT flag is set in the handling.cfg file):
- Coastguard
- Cuban Jetmax
- Dinghy
- Marquis
- Predator
- Speeder
- Squalo
- Reefer
- Tropic
Keywords
player, driving, any, boat
See also
- 04A7, checks if the character is in a boat