Difference between revisions of "0112"

From GTAMods Wiki
Jump to navigation Jump to search
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. In GTA 3 and Vice City this opcode also valid for scripts created with [[00D7]]. 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.
  
 
== Keywords ==
 
== Keywords ==
 
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed
 
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed
 
[[Category:OpCodes]]
 

Revision as of 09:16, 23 July 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.

Keywords

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