Garry's Mod Wiki

Revision Difference

GM:PostPlayerDeath#552924

<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><page>Player:Alive</page> will return false in this hook.</note> </description> <realm>Server</realm> <predicted>No</predicted>⤶ <args> <arg name="ply" type="Player">The player</arg> </args> </function>