Weapon fire

From EventScripts Community Encyclopedia

Description

weapon_fire executes EVERY TIME A WEAPON IS FIRED - (as long as you keep the attack button pressed)

--> Note: This requires eventscripts_noisy in order to trigger.

Variables

Variables Specific to weapon_fire That Are Expanded:

     event_var(userid)
           The userid of the player that fired the weapon
     event_var(weapon)
           The name of the weapon that the player fired


Variables Specific to the Player That Fired the Weapon:

     event_var(es_username)
           The name of the person that fired the weapon
     event_var(es_steamid)
           The steamid of the person that fired the weapon
     event_var(es_userteam)
           The team # of the person that fired the weapon
     event_var(es_userhealth)
           The health of the person that fired the weapon
     event_var(es_userarmor)
           The armor of the person that fired the weapon
     event_var(es_userdeaths)
           The number of deaths of the person that fired the weapon
     event_var(es_userkills)
           The number of kills of the person that fired the weapon
     event_var(es_userweapon)
           The name of the player's weapon that fired the weapon

Notes

blog comments powered by Disqus