OnClientLogout: 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]]
{{Server event}}
 
__NOTOC__  
__NOTOC__  
This event is triggered when a user logs out of their [http://center.mtasa.com MTA Center] account in-game.
This event is triggered when a user logs out of their account in-game.


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
void onClientLogin ( account previous_account, account current_account )
account thePreviousAccount, account theCurrentAccount
</syntaxhighlight>  
</syntaxhighlight>  
*'''thePreviousAccount''': The account the client was logged in as
*'''theCurrentAccount''': The account the client is a part of now (usually a guest account)


==Example==  
==Example==  
Line 17: Line 19:
mooo
mooo
</syntaxhighlight>
</syntaxhighlight>
[[Category:Needs example]]

Revision as of 03:57, 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)

Example

This example does...

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