Difference between revisions of "04A7"

From GTAMods Wiki
Jump to navigation Jump to search
(unsupported in VC :()
m
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 04A7=1,  %1d%
 
| ini        = 04A7=1,  %1d%
| description = Checks if an actor is operating a boat
+
| description = Checks if an actor is in a boat
 
| p1          = Actor handle
 
| p1          = Actor handle
 
| game        = [[San Andreas]]
 
| game        = [[San Andreas]]
 +
| native      = [[IS_CHAR_IN_ANY_BOAT]]
 
}}
 
}}
This opcode checks if an actor is operating a boat. It supersedes [[Vice City]]'s opcode [[04A8]].
+
This opcode checks if an actor is in a boat, either as a driver or a passenger. It supersedes [[Vice City]]'s opcode [[04A8]].
  
 
==List of Boats==
 
==List of Boats==

Revision as of 11:20, 17 December 2009

{{{games}}}


Description
Checks if an actor is in a boat
Syntax
{{{syntax1}}}
Parameter
Native analog
IS_CHAR_IN_ANY_BOAT

This opcode checks if an actor is in a boat, either as a driver or a passenger. It supersedes Vice City's opcode 04A8.

List of Boats

The game will recognize the following list of vehicles as boats.

  • Coastguard
  • Dinghy
  • Jetmax
  • Launch
  • Marquis
  • Predator
  • Speeder
  • Squalo
  • Reefer
  • Tropic

Keywords

actor, character, driving, boat