Difference between revisions of "0112"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{OpCode | ini = 0112=0, | description = Checks if the player is wasted or busted | game = GTA3, Vice City, San Andreas | native = HAS_DEATHARREST_EXECUTED }} Thi...)
 
(added unused feature)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0112=0, 
+
| games      = {{Icon|t}}
| description = Checks if the player is wasted or busted
+
| command    = HAS_DEATHARREST_BEEN_EXECUTED
| game        = GTA3, Vice City, San Andreas
+
| description = Checks if the player is wasted or busted during a [[Create a mission|mission]]
 +
| syntax1    = 0112:   wasted_or_busted
 +
| syntax2    = wasted_or_busted
 +
| p1t        = ''none''
 
| native      = [[HAS_DEATHARREST_EXECUTED]]
 
| native      = [[HAS_DEATHARREST_EXECUTED]]
 
}}
 
}}
This is a special opcode that checks if the player is wasted or busted when on a mission. It can only be used in [[Create_a_mission#Insert_your_mission|this mission structure]].
 
  
==Keywords==
+
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]] — this feature is unused in the [[Main.scm|original script]] of GTA III.
check, player, wasted, busted, mission
 
  
[[Category:OpCodes]]
+
== Keywords ==
 +
check, has, player, wasted, death, arrest, deatharrest, busted, mission, executed

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