Difference between revisions of "04A8"
Jump to navigation
Jump to search
(created article) |
(page updates) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Icon|VC}} '''IS_PLAYER_IN_ANY_BOAT''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Checks if the player is in a boat | |
− | + | '''Syntax''' | |
− | + | : 04A8: player [''player handle''] driving_boat | |
− | + | '''Parameter''' | |
+ | : [''player handle''] | ||
+ | :: The [[0053|handle of the player]] | ||
− | + | This conditional opcode returns true if the player is in a boat, either as a driver or a passenger. It is [[List of unsupported opcodes|unsupported]] in [[San Andreas]] and is superseded by opcode [[04A7]]. The game will recognize the following list of vehicles as boats. | |
− | The game will recognize the following list of vehicles as boats. | ||
*Coastguard | *Coastguard | ||
*Cuban Jetmax | *Cuban Jetmax | ||
Line 19: | Line 20: | ||
*Tropic | *Tropic | ||
− | ==Keywords== | + | == Keywords == |
− | player, driving, boat | + | player, driving, any, boat |
+ | |||
+ | [[Category:OpCodes]] |
Revision as of 04:37, 29 July 2015
Description
- Checks if the player is in a boat
Syntax
- 04A8: player [player handle] driving_boat
Parameter
- [player handle]
This conditional opcode returns true if the player is in a boat, either as a driver or a passenger. It is unsupported in San Andreas and is superseded by opcode 04A7. The game will recognize the following list of vehicles as boats.
- Coastguard
- Cuban Jetmax
- Dinghy
- Marquis
- Predator
- Speeder
- Squalo
- Reefer
- Tropic
Keywords
player, driving, any, boat