Garry's Mod Wiki

Revision Difference

GM:PostPlayerDeath#551440

<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> </description>⤶ ⤶ <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>