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

OnPlayerDisconnect

This is an old revision of this page, as edited 08-06-2012, 04:25 PM by foxtacles (contribs). It may differ significantly from the current revision.
Gets called when a player disconnects from the server.

[top]Declaration

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

[top]Parameters

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

[top]Return value

None.