AddAccount: Difference between revisions
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
Returns ''true'' if the account was created, ''false'' if the account already exists or an error occured. | Returns ''true'' if the account was created, ''false'' if the account already exists or an error occured. | ||
}} | }} | ||
==See Also== | ==See Also== |
Revision as of 09:20, 25 September 2012
This function adds an account to the list of registered accounts of the current server.
Syntax
account addAccount ( string name, string pass )
Required Arguments
- name: The name of the account you wish to make, this normally is the player's name.
- pass: The password to set for this account for future logins.
Returns
Returns the account element if the account was created, false if the account already exists or an error occured.
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
سعد