Difference between revisions of "0117"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0117=1,  %1d%
+
| games      = {{Icon|t}}
| description = Checks if the player is wasted
+
| command    = IS_PLAYER_DEAD
| p1          = Player handle
+
| description = Checks if the player is dead
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| syntax1    = 0117:   player [''player handle''] wasted
| native      = [[IS_PLAYER_DEAD]]
+
| p1t        = [''player handle'']
 +
| p1d        = The [[0053|handle of the player]]
 
}}
 
}}
This opcode checks if the player is wasted (dead). Use [[0256]] to check if the player is wasted or busted.
 
  
==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 ==
 +
* {{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