Player death
From EventScripts Community Encyclopedia
|
[edit] Descriptionplayer_death executes EVERY TIME A PLAYER DIES, and also executes on EVERY PLAYER THAT DIES [edit] VariablesVariables Specific to player_death That Are Expanded: event_var(userid)
The userid of the person that was attacked (the victim)
event_var(attacker)
The userid of the attacker
event_var(weapon)
The weapon name the attacker used to kill the player
event_var(headshot)
If the kill was the result of a headshot
event_var(es_username)
The name of the person that was killed
event_var(es_steamid)
The steamid of the person that was killed
event_var(es_userteam)
The team # of the person that was killed
event_var(es_userhealth)
The health of the person that was killed
event_var(es_userarmor)
The armor of the person that was killed
event_var(es_userdeaths)
The number of deaths of the person that was killed
event_var(es_userkills)
The number of kills of the person that was killed
event_var(es_userdead)
"0" if the victim is alive and "1" if the victim is dead
Variables Specific to the "attacker": event_var(es_attackername)
The name of the person that attacked the victim
event_var(es_attackersteamid)
The steamid of the attacker
event_var(es_attackerteam)
The team # of the attacker
event_var(es_attackerhealth)
The health of the attacker
event_var(es_attackerarmor)
The armor of the attacker
event_var(es_attackerdeaths)
The number of deaths of the attacker
event_var(es_attackerkills)
The number of kills of the attacker
event_var(es_attackerweapon)
The name of the attacker's weapon
event_var(es_attackerdead)
"0" if the attacker is alive and "1" if the attacker is dead
|
|
