Difference between revisions of "0117"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|t}} '''IS_PLAYER_DEAD'''
| ini        = 0117=1,  %1d%
+
<hr />
| description = Checks if the player is wasted
+
'''Description'''
| p1          = Player handle
+
: Checks if the player is dead
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''Syntax'''
| native      = [[IS_PLAYER_DEAD]]
+
: 0117: &nbsp; player [''player handle''] wasted
}}
+
'''Parameter'''
This opcode checks if the player is wasted (dead). Use [[0256]] to check if the player is wasted or busted.
+
: [''player handle'']
 +
:: The [[0053|handle of the player]]
  
==Keywords==
+
This conditional opcode returns true if the wasted screen pops up. Unlike [[0118]], a similarly named opcode for characters, it does not check when your health reaches 0.
check, player, wasted, dead
+
 
 +
== Keywords ==
 +
check, player, alive, dead, wasted
 +
 
 +
== See also ==
 +
* [[0118]], checks if the character is dead
 +
* [[0256]], checks if the player is wasted or busted
 +
 
 +
[[Category:OpCodes]]

Revision as of 03:19, 29 July 2015

GTA III Vice City San Andreas IS_PLAYER_DEAD


Description

Checks if the player is dead

Syntax

0117:   player [player handle] wasted

Parameter

[player handle]
The handle of the player

This conditional opcode returns true if the wasted screen pops up. Unlike 0118, a similarly named opcode for characters, it does not check when your health reaches 0.

Keywords

check, player, alive, dead, wasted

See also

  • 0118, checks if the character is dead
  • 0256, checks if the player is wasted or busted