Left 4 Dead Events

From AlliedModders Wiki
Revision as of 16:45, 26 November 2008 by CrimsonGT (talk | contribs)
Jump to: navigation, search

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}}}