GM:DoPlayerDeath( Player ply, Entity attacker, CTakeDamageInfo dmg )

Description

Handles the player's death.

This hook is not called if the player is killed by Player:KillSilent. See GM:PlayerSilentDeath for that.

Player:Alive returns true when this is called

Arguments

1 Player ply
The player
2 Entity attacker
The entity that killed the player
3 CTakeDamageInfo dmg
Damage info