OnClientLogout: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
This event is triggered when a user logs out of their account in-game.
This event is triggered when a user logs out of their account in-game.


==Syntax==  
==Parameters==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
account thePreviousAccount, account theCurrentAccount
account thePreviousAccount, account theCurrentAccount

Revision as of 04:11, 30 December 2007

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

Parameters

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