Gets called when a player disconnects from the server.
Code cpp:
VAULTSCRIPT VAULTSPACE Void OnPlayerDisconnect(VAULTSPACE ID, VAULTSPACE Reason) VAULTCPP(noexcept);
Code c:
forward OnPlayerDisconnect(ID, reason);
ID - the ID of the
Player
Reason - the reason ID describing why the player got disonnected
None.