Garry's Mod Wiki

Garry's Mod Wiki

  GM:SendDeathNotice( Entity or string or nil attacker, string inflictor, Entity or string victim, number flags )

Description

An internal function used to send a death notice event to all clients.

Arguments

1 Entity or string or nil attacker
The entity that caused the death.
2 string inflictor
The attacker's weapon class name or the attacker itself if no weapon was equipped.
3 Entity or string victim
The entity that died.
4 number flags
Death notice flags. 1 = Friendly victim (to the player), 2 = friendly attacker (to the player)

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...