Player jump

From EventScripts Community Encyclopedia

Description

player_jump executes on every player that jumps

Variables

Variables Specific to player_jump That Are Expanded:

     event_var(userid)
           The userid of the player that jumped


Variables Specific to the Player That Jumped:

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

Examples

//If a player jumps, tell them. 
event player_jump
{
       es_tell event_var(userid) #green You have jumped!
}
blog comments powered by Disqus