Difference between revisions of "04C8"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code>04C8=1,  %1d%</code><br>
+
{{OpCode
'''Description''': Checks if the actor is operating an airbourne vehicle<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Actor handle<br>
+
| command    = IS_CHAR_IN_FLYING_VEHICLE
'''Supports''': Vice City, San Andreas<br>
+
| description = Checks if the character is in a flying vehicle
 +
| syntax1    = 04C8: &nbsp; 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 an actor isoperating an airbourne vehicle. The airbourne vehicles include all planes and helicopters.
+
This conditional opcode returns true if the character is in a flying vehicle. Flying 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
  
[[Category:OpCodes]]
+
== 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