Difference between revisions of "0322"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} {{Icon|VC}} '''EXPLODE_PLAYER_HEAD''' <hr /> <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| '''Description''' : Kills the player '''Syntax''' : 0322: k...")
 
(many were for vc)
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
:: The [[0053|handle of the player]]
 
:: The [[0053|handle of the player]]
  
This opcode kills the player. Contrary to the opcode's name, it does not explode the player's head. In GTA III, using this opcode instantly kills the player no matter what. A gush of blood will squirt out of the neck. In Vice City, this opcode does not instantly kill. It depends on the health of the player and if the player can be damaged. Using this opcode subtracts 330 from the health of the player. This means the player cannot be killed if one's health is over 330. The player can also be not killed if the player is prevented from being hurt, e.g. opcode [[02AB]].
+
This opcode kills the player. Contrary to the opcode's name, it does not explode the player's head. In GTA III, using this opcode instantly kills the player no matter what. A gush of blood will squirt out of the neck. The player cannot killed if the player is prevented from being hurt, e.g. opcode [[01B4]].
 +
 
 +
In Vice City, this opcode does not instantly kill depending on the health of the player or if the player can be damaged. Using this opcode subtracts 330 from the health of the player, so the player cannot be killed if one's health is over 330. The player can also be not killed if the player is prevented from being hurt, e.g. while entering a vehicle, opcode [[01B4]], or opcode [[02AB]] with bulletproof set to true. If the player is in a car and is below the threshold of 330, the car will instantly stop and the player will fall out of the vehicle as if shot in the head and die. If the player is in a bike and is below threshold, the player will be knocked off the bike and die.
 
}}</onlyinclude>
 
}}</onlyinclude>
  
 
== Keywords ==
 
== Keywords ==
 
kill, player, explode, head
 
kill, player, explode, head
 +
 +
== See also ==
 +
* [[0321]], for characters
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Latest revision as of 02:51, 28 June 2015

GTA III Vice City EXPLODE_PLAYER_HEAD


Description

Kills the player

Syntax

0322: kill_player [player handle]

Parameter

[player handle]
The handle of the player

This opcode kills the player. Contrary to the opcode's name, it does not explode the player's head. In GTA III, using this opcode instantly kills the player no matter what. A gush of blood will squirt out of the neck. The player cannot killed if the player is prevented from being hurt, e.g. opcode 01B4.

In Vice City, this opcode does not instantly kill depending on the health of the player or if the player can be damaged. Using this opcode subtracts 330 from the health of the player, so the player cannot be killed if one's health is over 330. The player can also be not killed if the player is prevented from being hurt, e.g. while entering a vehicle, opcode 01B4, or opcode 02AB with bulletproof set to true. If the player is in a car and is below the threshold of 330, the car will instantly stop and the player will fall out of the vehicle as if shot in the head and die. If the player is in a bike and is below threshold, the player will be knocked off the bike and die.

Keywords

kill, player, explode, head

See also

  • 0321, for characters