Difference between revisions of "04AB"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<code>04AB=1,%1d%</code><br>
+
{{OpCode
'''Description''': Checks if an actor is operating a plane<br>
+
| ini        = 04AB=1,%1d%
'''Parameter 1''': Actor ID<br>
+
| description = Checks if an actor is in a plane
'''Supports''': Vice City, San Andreas<br>
+
| p1          = Actor handle
 
+
| game        = [[San Andreas]]
This conditional opcode checks if an actor is operating a plane.
+
| native      = [[IS_CHAR_IN_ANY_PLANE]]
 
+
}}
==List of Planes==
+
This conditional opcode checks if an actor is operating a plane. It supersedes [[Vice City]]'s opcode [[04AC]]. The game will recognize the following list of vehicles as planes:
The game will recognize the following list of vehicles as planes.
+
*Andromada
{|
+
*AT-400
! Vice City
+
*Beagle
! San Andreas
+
*Cropduster
|-
+
*Dodo
| RC Baron
+
*Hydra
| Andromada
+
*Nevada
|-
+
*RC Baron
| Skimmer
+
*Shamal
| AT-400
+
*Skimmer
|-
+
*Stuntplane
|
 
| Beagle
 
|-
 
|
 
| Cropduster
 
|-
 
|
 
| Dodo
 
|-
 
|
 
| Hydra
 
|-
 
|
 
| Nevada
 
|-
 
|
 
| RC Baron
 
|-
 
|
 
| Shamal
 
|-
 
|
 
| Skimmer
 
|-
 
|
 
| Stuntplane
 
|}
 
  
 
==Keywords==
 
==Keywords==
 
driving, flying, piloting, operating, plane
 
driving, flying, piloting, operating, plane
 
[[Category:OpCodes]]
 

Revision as of 02:44, 20 February 2010

{{{games}}}


Description
Checks if an actor is in a plane
Syntax
{{{syntax1}}}
Parameter
Native analog
IS_CHAR_IN_ANY_PLANE

This conditional opcode checks if an actor is operating a plane. It supersedes Vice City's opcode 04AC. The game will recognize the following list of vehicles as planes:

  • Andromada
  • AT-400
  • Beagle
  • Cropduster
  • Dodo
  • Hydra
  • Nevada
  • RC Baron
  • Shamal
  • Skimmer
  • Stuntplane

Keywords

driving, flying, piloting, operating, plane