RU/addAccount

From Multi Theft Auto: Wiki
Revision as of 10:25, 2 August 2012 by CoolDark (talk | contribs) (Created page with "==Syntax== <!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'pla...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.