Difference between revisions of "0117"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Number of parameters:''' 1
+
{{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]]
 +
}}
  
'''Works in'''
+
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.
 
SA
 
  
'''Description'''
+
== Keywords ==
+
check, player, alive, dead, wasted
Checks if the player got wasted.
 
  
'''Notes'''
+
== See also ==
 
+
* {{Icon|t}} [[0118]], checks if the character is dead
The database says 0017 has 1 parameter, but [http://www.gtamodding.com/index.php?title=Sanny_builder Sanny Builder] says it has two. In order to script this opcode with sanny builder, you will have to use 2 parameters
+
* {{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