Player team

From EventScripts Community Encyclopedia

Description

player_team executes EVERY TIME A PLAYER CHANGES TEAMS

Variables

Variables Specific to player_team That Are Expanded: Quote:

     event_var(userid)
           The userid of the player that changed teams
     event_var(team)
           The team the player joined
           Spectator = 1 | Terrorist/Rebel = 2 | CT/Combine = 3
     event_var(oldteam)
           The old team the player was on
           Spectator = 1 | Terrorist/Rebel = 2 | CT/Combine = 3
     event_var(disconnect)
           Triggered when a player "team change" is caused due to disconnecting
           Caused By Disconnect = 1 | Not Caused By Disconnect = 0
blog comments powered by Disqus