GM:DoPlayerDeath

From Garry's Mod
Jump to: navigation, search
 GM:DoPlayerDeath( )

Contents

Description

Handles the player's death.

Player:Alive returns true when this is called and the player will be considered dead right after this hook.

See GM:PostPlayerDeath for a hook in which the player is 100% dead. See also GM:PlayerDeath.

Arguments

Player ply

The player

Arguments

Entity attacker

The entity that killed the player

Arguments

CTakeDamageInfo dmg

Damage info
Personal tools
Navigation