Weapon reload

From EventScripts Community Encyclopedia

Description

weapon_reload executes EVERY TIME A PLAYER RELOADS THEIR WEAPON WITH THE RELOAD BUTTON- (not for hand-thrown grenades)

Variables

Variables Specific to weapon_reload That Are Expanded:

     event_var(userid)
           The userid of the player that reloaded the weapon


Variables Specific to the Player That Reloaded the Weapon:

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

Notes

  • Requires eventscripts_noisy 1 to be handled by EventScripts
  • If a player has a full clip and tries to reload, this event is fired repeatedly as long as the reload key is held down
  • This event is not fired on automatic reloads (empty clip)
blog comments powered by Disqus