Difference between revisions of "0117"

From GTAMods Wiki
Jump to navigation Jump to search
(Redirecting to 0256)
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[0256]]
+
{{OpCode
 +
| games      = {{Icon|t}}
 +
| command    = IS_PLAYER_DEAD
 +
| description = Checks if the player is dead
 +
| syntax1    = 0117:   player [''player handle''] wasted
 +
| p1t        = [''player handle'']
 +
| p1d        = The [[0053|handle of the player]]
 +
}}
  
[[Category:OpCodes]]
+
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 ==
 +
* {{Icon|t}} [[0118]], checks if the character is dead
 +
* {{Icon|t}} [[0256]], checks if the player is wasted or busted

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