Break prop

From EventScripts Community Encyclopedia

Description

break_prop executes EVERY TIME A PROP IS BROKEN.

Variables

Variables Specific to break_prop That Are Expanded:

     event_var(entindex)
           The Valve-assigned entity index of the prop
     event_var(userid)
           The userid of the player that broke the prop

Variables Specific to the Player That Broke The Prop:

     event_var(es_username)
           The name of the person that broke the prop
     event_var(es_steamid)
           The steamid of the person that broke the prop
     event_var(es_userteam)
           The team # of the person that broke the prop
     event_var(es_userhealth)
           The health of the person that broke the prop
     event_var(es_userarmor)
           The armor of the person that broke the prop
     event_var(es_userdeaths)
           The number of deaths of the person that broke the prop
     event_var(es_userkills)
           The number of kills of the person that broke the prop
     event_var(es_userweapon)
           The name of the player's weapon that broke the prop
blog comments powered by Disqus