OnClientLogout: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
*'''thePreviousAccount''': The account the client was logged in as
*'''thePreviousAccount''': The account the client was logged in as
*'''theCurrentAccount''': The account the client is a part of now (usually a guest account)
*'''theCurrentAccount''': The account the client is a part of now (usually a guest account)
==Source==
The [[event system#Event source|source]] of this event is the client [[element]] that logged out. For example a player.


==Example==  
==Example==  
Line 19: Line 22:
mooo
mooo
</syntaxhighlight>
</syntaxhighlight>
[[Category:Needs_example]]
[[Category:Needs Example]]

Revision as of 03:59, 30 December 2007

This event is triggered when a user logs out of their account in-game.

Syntax

account thePreviousAccount, account theCurrentAccount
  • thePreviousAccount: The account the client was logged in as
  • theCurrentAccount: The account the client is a part of now (usually a guest account)

Source

The source of this event is the client element that logged out. For example a player.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo