OnPlayerQuit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{Server event}}
{{Server event}}
This event is triggered when a player disconnects from the server.
This event is triggered when a player disconnects from the server.
ChrML: Valid quit reasons are in [[onClientPlayerQuit]]


==Parameters==
==Parameters==
Line 10: Line 9:


*'''reason''': A string containing the reason why the player left.
*'''reason''': A string containing the reason why the player left.
Quit reason string can be:
- "Unknown"
- "Quit"
- "Kicked"
- "Banned"
- "Bad Connection"
- "Timed out"


==Source==
==Source==

Revision as of 05:11, 30 December 2007

This event is triggered when a player disconnects from the server.

Parameters

string reason
  • reason: A string containing the reason why the player left.

Quit reason string can be: - "Unknown" - "Quit" - "Kicked" - "Banned" - "Bad Connection" - "Timed out"

Source

The source of this event is the player that left the server.

See Also