SetAccountData
Jump to navigation
Jump to search
This template is no longer in use as it results in poor readability. This function sets a string to be stored in an account. This can then be retrieved using setAccountData. Data stored as account data is persistent across user's sessions and maps, unless they are logged into a guest account.
Syntax
bool setAccountData ( account theAccount, string key, string value )
Required Arguments
- theAccount: The account you wish to retrieve the data from.
- key: The key under which you wish to store the data
- value: The value you wish to store
Returns
Returns a true if the account data was set, false if an invalid argument was specified.
Example
Need onPlayerLogin for this...
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