OnClientPlayerQuit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Needs_Checking|We need a list of valid quit reasons --[[User:Talidan2|Talidan2]] 08:17, 22 October 2007 (CDT)}}
__NOTOC__
__NOTOC__
{{Client event}}
{{Client event}}
Line 10: Line 9:


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


==Source==
==Source==

Revision as of 17:21, 30 November 2007

This event is triggered when a remote player quits the game

Parameters

string reason
  • reason: A string representing the reason why the player quit.

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

Source

The source of this event is the player that quit the game.

Example

This page lacks an example

--add an example here

See Also