GM:PlayerConnect
Description
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 clientside for the local player.
Arguments
Example
prints a message to the chatbox when a player joins the game
Output: Player1 has joined the game.