LogOut: Difference between revisions
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 | 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
- addAccount
- copyAccountData
- getAccount
- getAccountData
- getAccountName
- getAccountPlayer
- getAccountSerial
- getAccounts
- getAccountsBySerial
- getAllAccountData
- getPlayerAccount
- isGuestAccount
- logIn
- logOut
- removeAccount
- setAccountData
- setAccountPassword
- getAccountByID
- getAccountID
- getAccountIP
- getAccountsByData
- getAccountsByIP
- setAccountName