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 will return false in this hook.

Arguments

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