Difference between revisions of "04C8"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 04C8=1,  %1d%
 
| ini        = 04C8=1,  %1d%
| description = Checks if the actor is operating an airbourne vehicle
+
| description = Checks if the actor is in an airbourne vehicle
 
| p1          = Actor handle
 
| p1          = Actor handle
| game        = [[Vice City]], [[San Andreas]]
+
| game        = [[San Andreas]]
 +
| native      = [[IS_CHAR_IN_FLYING_VEHICLE]]
 
}}
 
}}
This opcode checks if the actor is operating an airbourne vehicle. Airbourne vehicles include all [[04AB#List of Planes|planes]] and [[04A9#List of Helicopters|helicopters]].
+
This opcode checks returns true if the actor is in an airbourne vehicle. Airbourne vehicles include all [[04AB|planes]] and [[04A9|helicopters]].
  
 
==Keywords==
 
==Keywords==
 
check, actor, operating, driving, piloting, air, flying, airbourne, vehicle
 
check, actor, operating, driving, piloting, air, flying, airbourne, vehicle

Revision as of 02:48, 20 February 2010

{{{games}}}


Description
Checks if the actor is in an airbourne vehicle
Syntax
{{{syntax1}}}
Parameter
Native analog
IS_CHAR_IN_FLYING_VEHICLE

This opcode checks returns true if the actor is in an airbourne vehicle. Airbourne vehicles include all planes and helicopters.

Keywords

check, actor, operating, driving, piloting, air, flying, airbourne, vehicle