Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...