Garry's Mod Wiki

Revision Difference

GM:PostPlayerDeath#511253

<function name="PostPlayerDeath" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called right after <page>GM:DoPlayerDeath</page>, <page>GM:PlayerDeath</page> and <page>GM:PlayerSilentDeath</page>.⤶ ⤶ This hook will be called for all deaths, including <page>Player:KillSilent</page>⤶ ⤶ <note>The player is considered dead when this is hook is called, <page>Player:Alive</page> will return false.</note>⤶ </description>⤶ <realm>Server</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="ply" type="Player">The player</arg>⤶ </args>⤶ </function>⤶ ⤶