Difference between revisions of "0A32"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0566=2, %1d%  %2d%
+
| games      = {{Icon|SA}}
| description = Checks if the actor is turreted on any vehicle.
+
| description = Checks if the character is attached to any vehicle.
| p1          = Actor Handle
+
| syntax1    = 0A32:   actor [''char handle''] on_turret_of_car
| game        = [[San Andreas]]
+
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 
}}
 
}}
  
This opcode checks if the actor is turreted on any vehicle.
+
This conditional opcode returns true when the character is attached ("turreted") to any vehicle.
  
==Sanny Builder Example==
+
== Keywords ==
<source lang="scm">0A32: actor 2@ on_turret_of_car</source>
+
actor, character, turret, attach, attached, car, vehicle
 
 
==Keywords==
 
actor, turret
 

Revision as of 05:44, 26 January 2016

San Andreas


Description
Checks if the character is attached to any vehicle.
Syntax
0A32:   actor [char handle] on_turret_of_car
Parameter
[char handle]
The handle of the character

This conditional opcode returns true when the character is attached ("turreted") to any vehicle.

Keywords

actor, character, turret, attach, attached, car, vehicle