This site has been archived and made available for preservation purposes. No edits can be made.

OnPlayerDisconnect

Gets called when a player disconnects from the server.

[top]Declaration

Code cpp:
VAULTSCRIPT VAULTSPACE Void OnPlayerDisconnect(VAULTSPACE ID, VAULTSPACE Reason) VAULTCPP(noexcept);
Code c:
forward OnPlayerDisconnect(ID, reason);

[top]Parameters

ID - the ID of the Player
Reason - the reason ID describing why the player got disonnected

[top]Return value

None.