OnPlayerQuit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated, removed outdated example) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This event is triggered when a player | {{Server event}} | ||
This event is triggered when a player disconnects from the server. | |||
== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string reason | |||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''reason''': A string containing the reason why the player left. | |||
==Source== | |||
The [[event system#Event source|source]] of this event is the [[player]] that left the server. | |||
==See Also== | |||
{{Event_functions}} | |||
[[Category:Needs Example]] |