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 04-06-2012, 03:24 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 void OnPlayerDisconnect(vaultmp::ID, vaultmp::Reason);
forward OnPlayerDisconnect(ID, reason);
</code>

[top]Parameters

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

[top]Return value

None.