Difference between revisions of "04C8"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 04C8=1,  %1d%
+
| games      = {{Icon|SA}}
| description = Checks if the actor is in an airbourne vehicle
+
| command    = IS_CHAR_IN_FLYING_VEHICLE
| p1          = Actor handle
+
| description = Checks if the character is in a flying vehicle
| game        = [[San Andreas]]
+
| syntax1    = 04C8:   actor [''char handle''] driving_flying_vehicle
 +
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 
| native      = [[IS_CHAR_IN_FLYING_VEHICLE]]
 
| native      = [[IS_CHAR_IN_FLYING_VEHICLE]]
 
}}
 
}}
This opcode checks returns true if the actor is in an airbourne vehicle. Airbourne vehicles include all [[04AB|planes]] and [[04A9|helicopters]].
 
  
==Keywords==
+
This opcode returns true if the character is in a flying vehicle. Flying vehicles include all [[04AB|planes]] and [[04A9|helicopters]].
 +
 
 +
== Keywords ==
 
check, actor, operating, driving, piloting, air, flying, airbourne, vehicle
 
check, actor, operating, driving, piloting, air, flying, airbourne, vehicle

Revision as of 07:43, 4 December 2016

San Andreas IS_CHAR_IN_FLYING_VEHICLE


Description
Checks if the character is in a flying vehicle
Syntax
04C8:   actor [char handle] driving_flying_vehicle
Parameter
[char handle]
The handle of the character
Native analog
IS_CHAR_IN_FLYING_VEHICLE

This opcode returns true if the character is in a flying vehicle. Flying vehicles include all planes and helicopters.

Keywords

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