Difference between revisions of "04C8"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 04C8=1,  %1d%
+
| games      = {{Icon|SA}}
| description = Checks if the actor is operating an airbourne vehicle
+
| command    = IS_CHAR_IN_FLYING_VEHICLE
| p1          = Actor handle
+
| description = Checks if the character is in a flying vehicle
| game        = [[Vice City]], [[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]]
 
}}
 
}}
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]].
 
  
==Keywords==
+
This conditional 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
 +
 +
== See also ==
 +
* {{Icon|VC}} [[04C9]], checks if the player is in a flying vehicle

Latest revision as of 07:58, 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 conditional 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

See also

  • Vice City 04C9, checks if the player is in a flying vehicle