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 09-28-2011, 06:53 PM by . It may differ significantly from the current revision.
Gets called when a player disconnects from the server.

== Declaration ==
<code cpp>
VAULTSCRIPT void OnPlayerDisconnect(vaultmp::ID, vaultmp::Reason);
forward OnPlayerDisconnect(ID, reason);
</code>
== Parameters ==

'''[[ID|vaultmp::ID]]''' - the ID of the [[Player]]

'''[[Reason|vaultmp::Reason]]''' - the reason ID describing why the player gets disonnected

== Return value ==

None.