Garry's Mod Wiki

Revision Difference

GM:PlayerSilentDeath#517766

<function name="PlayerSilentDeath" parent="GM" type="hook"> <ishook>yes</ishook> <description> Called when the player is killed by <page>Player:KillSilent</page>.&amp;lt;br&amp;gt; Called when the player is killed by <page>Player:KillSilent</page>.&lt;br&gt; The player is already considered dead when this hook is called. * See <page>GM:PlayerDeath</page> for a hook which handles all other death causes. * <page>GM:PostPlayerDeath</page> is called **after** this hook. <note><page>Player:Alive</page> will return true in this hook.</note> </description> <realm>Server</realm> <predicted>No</predicted> <args> <arg name="ply" type="Player">The player who was killed</arg> </args> </function>