Player disconnect

From EventScripts Community Encyclopedia

Description

player_disconnect executes EVERY TIME A PLAYER DISCONNECTS FROM THE SERVER

Variables

Variables Specific to player_disconnect That Are Expanded: Quote:

     event_var(userid)
           The userid of the player that is disconnecting
     event_var(reason)
           The "reason" the player is disconnecting:
           "Disconnect by user" | "Kicked by Console" | "Kicked and banned" | "No Steam logon" | "STEAM UserID {steamid} is banned"
           "Client timed out" | "Connection Closing" | "Client {client} overflowed reliable channel."
           "VAC banned from secure server" | "Lan Servers are restricted to Local Client (Class C)"
     event_var(name)
           The Name of the player that is disconnecting
     event_var(networkid)
           The SteamID of the player that is disconnecting
blog comments powered by Disqus