LogOut: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: bool logOut ( player ))
 
No edit summary
Line 1: Line 1:
bool logOut ( player )
__NOTOC__
{{Server function}}
This function logs the given player out of his current account.
 
==Syntax==
<syntaxhighlight lang="lua">
bool logIn ( player thePlayer )
</syntaxhighlight>
 
===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==
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>
 
==See Also==
{{Account_functions}}

Revision as of 10:13, 26 November 2007

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

Syntax

bool logIn ( 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