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:
[[Category:Incomplete Event]]
{{Needs_Checking|We need a list of valid quit reasons --[[User:Talidan2|Talidan2]] 08:17, 22 October 2007 (CDT)}}
__NOTOC__
{{Client event}}
This event is triggered when a remote player quits the game


__NOTOC__
==Parameters==
This event is blahblah and is used for blahblah.
 
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
oid onClientPlayerQuit ( string reason )
string reason
</syntaxhighlight>  
</syntaxhighlight>  
*'''reason''': A string representing the reason why the player quit.
==Source==
The [[event system#Event source|source]] of this event is the [[player]] that quit the game.


==Example==  
==Example==  
This example does...
This page lacks an example
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
--add an example here
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>
</syntaxhighlight>
==See Also==
{{Event_functions}}
[[Category:Incomplete]]
[[Category:Needs Example]]

Revision as of 13:17, 22 October 2007

Dialog-information.png This article needs checking.

Reason(s): We need a list of valid quit reasons --Talidan2 08:17, 22 October 2007 (CDT)

This event is triggered when a remote player quits the game

Parameters

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

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