Garry's Mod Wiki

Revision Difference

GM:SendDeathNotice#553341

<function name="SendDeathNotice" parent="GM" type="hook">⤶ <description>⤶ An internal function used to send a death notice event to all clients.⤶ </description>⤶ <realm>Server</realm>⤶ <added>2023.09.01</added>⤶ <args>⤶ <arg name="attacker" type="Entity">The entity that caused the death.</arg>⤶ <arg name="inflictor" type="Entity">The attacker's weapon or the attacker itself if no weapon was equipped.</arg>⤶ <arg name="victim" type="Entity">The entity that died.</arg>⤶ <arg name="flags" type="number">Death notice flags. 1 = Friendly victim (to the player), 2 = friendly attacker (to the player)</arg>⤶ </args>⤶ </function>⤶