GM/AddDeathNotice

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(This is a function, not a hook)
m (Reverted edits by Robotboy655 (talk) to last revision by Dane)
Line 1: Line 1:
{{Func
+
{{Hook
 
|Name=AddDeathNotice
 
|Name=AddDeathNotice
 
|Parent=GM
 
|Parent=GM
 
|Description=Adds an death notice entry
 
|Description=Adds an death notice entry
 
|Realm=Client
 
|Realm=Client
|IsClass=Yes
 
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=string
 
|type=string
|name=victim
+
|name=sVictim
 
|desc=The name of the victim
 
|desc=The name of the victim
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=victimTeam
+
|name=iVictimTeam
 
|desc=The team of the victim
 
|desc=The team of the victim
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=string
 
|type=string
|name=inflictor
+
|name=sInflictor
 
|desc=Name of the killicon to use
 
|desc=Name of the killicon to use
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=string
 
|type=string
|name=attacker
+
|name=sAttacker
 
|desc=Name of the attacker
 
|desc=Name of the attacker
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=attackerTeam
+
|name=iAttackerTeam
 
|desc=Team of the attacker
 
|desc=Team of the attacker
 
}}
 
}}

Revision as of 20:16, 16 March 2014

 GM:AddDeathNotice( )

Contents

Description

Adds an death notice entry

Arguments

string sVictim

The name of the victim

Arguments

number iVictimTeam

The team of the victim

Arguments

string sInflictor

Name of the killicon to use

Arguments

string sAttacker

Name of the attacker

Arguments

number iAttackerTeam

Team of the attacker
Personal tools
Navigation