AddAccount

From Multi Theft Auto: Wiki
Revision as of 09:20, 25 September 2012 by MR.S3D (talk | contribs) (→‎See Also)
Jump to navigation Jump to search

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