Garry's Mod Wiki

GM:DoPlayerDeath

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

Page Links


Special Pages


Wikis

?

Render Time: 50ms

DB GetPage 3
Generate Html 9
SaveChanges (1) 16
Render Body 0
Render Sidebar 12