GM/DoPlayerDeath

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

Contents

Description

Handles the player's death.

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


NOTE

Player:Alive returns true when this is called

Arguments

Player ply

The player

Arguments

Entity attacker

The entity that killed the player

Arguments

CTakeDamageInfo dmg

Damage info
Personal tools
Navigation