LogOut: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(I think it should be logOut, not logIn)
Line 5: Line 5:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool logIn ( player thePlayer )
bool logOut ( player thePlayer )
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 21:13, 26 January 2008

This function logs the given player out of his current account.

Syntax

bool logOut ( player thePlayer )

Required Arguments

  • thePlayer: The player to log out of his current account

Returns

Returns true if the player was successfully logged out, false or nil if it failed for some reason, ie. the player was never logged in.

Example

--TODO

See Also