AR/addAccount: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Undo revision 36255 by MOJRM-511 (talk))
Line 3: Line 3:
هذه الوظيفة تقوم بأضافة حساب جديد إلى قائمة الحسابات المسجلة في السيرفر.
هذه الوظيفة تقوم بأضافة حساب جديد إلى قائمة الحسابات المسجلة في السيرفر.


تابل تبوله ^_^
==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 -->
{{New feature/item|3|1.0|848|
<syntaxhighlight lang="lua">
account addAccount ( string name, string pass )
</syntaxhighlight>
}}
{{Deprecated_feature|3|1.0|
<syntaxhighlight lang="lua">
bool addAccount ( string name, string pass )
</syntaxhighlight>
}}


TABL TBOLH
===العناصر المطلوبة===
<!-- List each argument one per line. This should be the argument's name as in the argument list above, NOT the argument's data type -->
*'''name:''' أسم الحساب الجديد اللذي تريد تسجيلة.
*'''pass:''' كلمة المرور للحساب اللذي تريد تسجيلة.
 
===Returns===
<!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check -->
{{New feature|3|1.0 r848|
إذا كان أسم هذا الحساب قد تم تسجيلة مسبقاً أو إذا حدث خطأ ما ''false'' يرجع عنصر ''الحساب'' اللذي تم تسجيلة, أو
}}


==مثال==  
==مثال==  

Revision as of 00:05, 2 June 2013

هذه الوظيفة تقوم بأضافة حساب جديد إلى قائمة الحسابات المسجلة في السيرفر.

Syntax

account addAccount ( string name, string pass )

العناصر المطلوبة

  • name: أسم الحساب الجديد اللذي تريد تسجيلة.
  • pass: كلمة المرور للحساب اللذي تريد تسجيلة.

Returns

إذا كان أسم هذا الحساب قد تم تسجيلة مسبقاً أو إذا حدث خطأ ما false يرجع عنصر الحساب اللذي تم تسجيلة, أو

مثال

<script> helloo world ^_^ </script>

انظر ايضاً