Difference between revisions of "Left 4 Dead Events"

From AlliedModders Wiki
Jump to: navigation, search
(player_death)
Line 12: Line 12:
 
{{hl2msg|abort|bool}}
 
{{hl2msg|abort|bool}}
 
{{hl2msg|type|long}}
 
{{hl2msg|type|long}}
 +
{{hl2msg|victim_x|float}}
 +
{{hl2msg|victim_y|float}}
 +
{{hl2msg|victim_z|float}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 +
 +
=== player_hurt ===
 +
{{qnotice|When a player is Hurt}}<br>
 +
{{begin-hl2msg|local|1}}
 +
{{hl2msg|userid|short}}
 +
{{hl2msg|attacker|short}}
 +
{{hl2msg|attackerentid|long}}
 +
{{hl2msg|health|short}}
 +
{{hl2msg|armor|byte}}
 +
{{hl2msg|weapon|string}}
 +
{{hl2msg|dmg_health|short}}
 +
{{hl2msg|dmg_armor|byte}}
 +
{{hl2msg|hitgroup|byte}}
 +
{{hl2msg|type|long}}
 +
{{end-hl2msg}}
 +
 +
=== player_team ===
 +
{{qnotice|When a player Changes Team}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|team|byte}}
 +
{{hl2msg|oldteam|byte}}
 +
{{hl2msg|disconnect|bool}}
 +
{{hl2msg|name|string}}
 +
{{hl2msg|isbot|bool}}

Revision as of 16:42, 26 November 2008

player_death

Note: When a player is killed

Name: userid
Structure:
entityid long {{{3}}}
attacker short {{{3}}}
attackername string {{{3}}}
attackerentid long {{{3}}}
headshot bool {{{3}}}
attackerisbot boot {{{3}}}
victimname string {{{3}}}
victimisbot bool {{{3}}}
abort bool {{{3}}}
type long {{{3}}}
victim_x float {{{3}}}
victim_y float {{{3}}}
victim_z float {{{3}}}


player_hurt

Note: When a player is Hurt

Name: local
Structure:
userid short {{{3}}}
attacker short {{{3}}}
attackerentid long {{{3}}}
health short {{{3}}}
armor byte {{{3}}}
weapon string {{{3}}}
dmg_health short {{{3}}}
dmg_armor byte {{{3}}}
hitgroup byte {{{3}}}
type long {{{3}}}


player_team

Note: When a player Changes Team

Name: userid
Structure:
team byte {{{3}}}
oldteam byte {{{3}}}
disconnect bool {{{3}}}
name string {{{3}}}
isbot bool {{{3}}}