Player connect
From EventScripts Community Encyclopedia
|
[edit] Descriptionplayer_connect executes EVERY TIME A PLAYER CONNECTS - (prior to player_activate) [edit] VariablesVariables Specific to player_connect That Are Expanded: event_var(name)
The name of the player connecting
event_var(index)
The Valve-Assigned player slot entity index
event_var(userid)
The userid of the player that is connecting
event_var(networkid)
The SteamID of the player that is connecting
event_var(address)
The IP address and port of the player that is connecting
[edit] NotesThe event_var(networkid) does not contain the real SteamID of the player since the server has not yet validated the player at this point. The first event that has the real SteamID is es_player_validated. In player_connect the only values that you can get from event_var(networkid) are: |
