Difference between revisions of "Left 4 Dead Events"

From AlliedModders Wiki
Jump to: navigation, search
(player_death)
Line 40: Line 40:
 
{{hl2msg|name|string}}
 
{{hl2msg|name|string}}
 
{{hl2msg|isbot|bool}}
 
{{hl2msg|isbot|bool}}
 +
{{end-hl2msg}}
 +
 +
=== player_bot_replace ===
 +
{{qnotice|When a player replaces a bot}}<br>
 +
{{begin-hl2msg|player|short}}
 +
{{hl2msg|bot|short}}
 +
{{end-hl2msg}}
 +
 +
=== bot_player_replace ===
 +
{{qnotice|When a bot replaces a player}}<br>
 +
{{begin-hl2msg|bot|short}}
 +
{{hl2msg|player|short}}
 +
{{end-hl2msg}}
 +
 +
=== player_afk ===
 +
{{qnotice|When a bot replaces a player}}<br>
 +
{{begin-hl2msg|player|short}}
 +
{{end-hl2msg}}
 +
 +
=== weapon_fire ===
 +
{{qnotice|When a weapon is fired}}<br>
 +
{{begin-hl2msg|local|1}}
 +
{{hl2msg|userid|short}}
 +
{{hl2msg|weapon|string}}
 +
{{hl2msg|weaponid|short}}
 +
{{hl2msg|count|short}}
 +
{{end-hl2msg}}

Revision as of 16:45, 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}}}


player_bot_replace

Note: When a player replaces a bot

Name: player
Structure:
bot short {{{3}}}


bot_player_replace

Note: When a bot replaces a player

Name: bot
Structure:
player short {{{3}}}


player_afk

Note: When a bot replaces a player

Name: player
Structure:


weapon_fire

Note: When a weapon is fired

Name: local
Structure:
userid short {{{3}}}
weapon string {{{3}}}
weaponid short {{{3}}}
count short {{{3}}}