04A8

From GTAMods Wiki
Revision as of 20:44, 29 July 2015 by Seemann (talk | contribs)
Jump to navigation Jump to search

Vice City IS_PLAYER_IN_ANY_BOAT


Description

Checks if the player is in a boat

Syntax

04A8:   player [player handle] driving_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. It is unsupported in San Andreas and is superseded by opcode 04A7. 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