0112

From GTAModding
Jump to: navigation, search

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