Difference between revisions of "0112"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
(added unused feature)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Icon|t}} '''HAS_DEATHARREST_BEEN_EXECUTED'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = HAS_DEATHARREST_BEEN_EXECUTED
: Checks if the player is wasted or busted during a [[Create a mission|mission]]
+
| description = Checks if the player is wasted or busted during a [[Create a mission|mission]]
'''Syntax'''
+
| syntax1    = 0112: &nbsp; wasted_or_busted
: 0112: &nbsp; wasted_or_busted
+
| syntax2    = wasted_or_busted
: wasted_or_busted
+
| p1t        = ''none''
'''Parameter'''
+
| native      = [[HAS_DEATHARREST_EXECUTED]]
: [''none'']
+
}}
'''Native analog'''
 
: [[HAS_DEATHARREST_EXECUTED]]
 
  
This conditional opcode returns true if the player is wasted or busted when on a mission. The opcode can only be used in the [[Create a mission|mission structure]]; it has no effect elsewhere. Using opcode [[0111]] can disable this check.
+
This conditional opcode returns true if the player is wasted or busted when on a mission. The opcode only has an effect when placed in scripts launched using opcode [[0417]] or, in GTA III and Vice City only, [[00D7]]; it has no effect elsewhere. Using opcode [[0111]] can disable this check for the current script. In GTA III, this opcode also returns true if any vehicle added to the [[0190|upside down cars array]] is [[018F|stuck on its roof]] &mdash; this feature is unused in the [[Main.scm|original script]] of GTA III.
  
 
== Keywords ==
 
== Keywords ==
 
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed
 
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed
 
[[Category:OpCodes]]
 

Latest revision as of 20:28, 23 November 2016

GTA III Vice City San Andreas HAS_DEATHARREST_BEEN_EXECUTED


Description
Checks if the player is wasted or busted during a mission
Syntax
0112:   wasted_or_busted
wasted_or_busted
Parameter
none
Native analog
HAS_DEATHARREST_EXECUTED

This conditional opcode returns true if the player is wasted or busted when on a mission. The opcode only has an effect when placed in scripts launched using opcode 0417 or, in GTA III and Vice City only, 00D7; it has no effect elsewhere. Using opcode 0111 can disable this check for the current script. In GTA III, this opcode also returns true if any vehicle added to the upside down cars array is stuck on its roof — this feature is unused in the original script of GTA III.

Keywords

check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed