Executes when a player connects to the server. Called before the player has been assigned a UserID and entity. See the player_connect gameevent for a version of this hook called after the player entity has been created. This is only called clientside for listen server hosts. This is not called...
Called when a player leaves the server. See the player_disconnect gameevent for a shared version of this hook. Player:SteamID, Player:SteamID64, and the like can return nil here. This is not called in single-player or listen servers for the host. Issue Tracker: 3523