RU/addAccount: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
Line 1: | Line 1: | ||
Эта функция добавляет аккаунт на сервер. | |||
==Syntax== | ==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 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd --> | <!-- 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 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd --> |
Revision as of 10:26, 2 August 2012
Эта функция добавляет аккаунт на сервер.
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.