Revision Difference
GM:DoPlayerDeath#524782
<function name="DoPlayerDeath" parent="GM" type="hook">
	<ishook>yes</ishook>
	<description>
Handles the player's death.
This hook is **not** called if the player is killed by <page>Player:KillSilent</page>. See <page>GM:PlayerSilentDeath</page> for that.
* <page>GM:PlayerDeath</page> is called after this hook
* <page>GM:PostPlayerDeath</page> is called after that
<br>⤶
<note><page>Player:Alive</page> returns true when this is called</note>
	</description>
	<realm>Server</realm>
	<predicted>No</predicted>
	<args>
		<arg name="ply" type="Player">The player</arg>
		<arg name="attacker" type="Entity">The entity that killed the player</arg>
		<arg name="dmg" type="CTakeDamageInfo">Damage info</arg>
	</args>
</function>
			Garry's Mod 
		
			Rust 
		
			Steamworks 
		
			Wiki Help