File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,25 @@ source_element:
55 type : element
66 description : The source of this event is the player that died.
77description : This event is triggered whenever a player, including those remote, dies.
8- parameters : []
8+ parameters :
9+ - name : killer
10+ type : element
11+ description : A player, ped or vehicle element representing the killer.
12+ - name : weapon
13+ type : int
14+ description : An integer representing the killer weapon or the damage types.
15+ - name : bodypart
16+ type : int
17+ description : An integer representing the bodypart the player was damaged.
18+ - name : stealth
19+ type : bool
20+ description : A boolean representing whether or not this was a stealth kill.
21+ - name : animGroup
22+ type : int
23+ description : an integer representing the player's current animation group.
24+ - name : animID
25+ type : int
26+ description : an integer representing the player's current animation ID.
927examples :
1028- path : examples/onClientPlayerWasted-1.lua
1129 description : This example outputs a mocking message when the local player dies.
You can’t perform that action at this time.
0 commit comments