Difference between revisions of "0117"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
Line 1: Line 1:
{{Icon|t}} '''IS_PLAYER_DEAD'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = IS_PLAYER_DEAD
: Checks if the player is dead
+
| description = Checks if the player is dead
'''Syntax'''
+
| syntax1    = 0117: &nbsp; player [''player handle''] wasted
: 0117: &nbsp; player [''player handle''] wasted
+
| p1t        = [''player handle'']
'''Parameter'''
+
| p1d        = The [[0053|handle of the player]]
: [''player handle'']
+
}}
:: The [[0053|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.
 
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.
Line 15: Line 14:
  
 
== See also ==
 
== See also ==
* [[0118]], checks if the character is dead
+
* {{Icon|t}} [[0118]], checks if the character is dead
* [[0256]], checks if the player is wasted or busted
+
* {{Icon|t}} [[0256]], checks if the player is wasted or busted
 
 
[[Category:OpCodes]]
 

Latest revision as of 16:28, 4 June 2016

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

  • GTA III Vice City San Andreas 0118, checks if the character is dead
  • GTA III Vice City San Andreas 0256, checks if the player is wasted or busted