player_disconnect
Description
Called when a player disconnects from the server.
This is also called when a player cancels connecting to the server.
This is not called clientside for the local player or in single-player.
When this gameevent is called on the client side, the player will be NULL!. so you cannot use
This is not called clientside for the local player or in single-player.
When this gameevent is called on the client side, the player will be NULL!. so you cannot use
Player(data.userid)
!Members
Examples
Example
This is a basic template with the purpose of including all arguments / table variables to make it easily known which values can be accessed.