Difference between revisions of "04C8"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 9: Line 9:
 
}}
 
}}
  
This opcode returns true if the character is in a flying vehicle. Flying vehicles include all [[04AB|planes]] and [[04A9|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
 +
 +
== 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