Resource:Gang Manager/createGang: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Server client function}} {{Note_box|Avoid outputting text to the chatbox that isn't actually chat, as this can be annoying for players. Output information and status message...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Server client function}} | {{Server client function}} | ||
Creates gang with chosen name in the database. | |||
==Syntax== | ==Syntax== | ||
<section name="Server" class="server" show="true"> | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua">createGang ( string GangName )</syntaxhighlight> | ||
==Required Arguments== | ==Required Arguments== | ||
*''' | *'''GangName:''' Name of the gang you wish to create | ||
</section> | </section> | ||
<section name="Client" class="client" show="true"> | <section name="Client" class="client" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua">createGang ( string GangName )</syntaxhighlight> | ||
==Required Arguments== | ==Required Arguments== | ||
*''' | *'''GangName:''' Name of the gang you wish to create | ||
</section> | </section> | ||
==Returns== | ==Returns== | ||
Returns | Returns Gang ID if the gang was created successfully or returns ''false'' otherwise. | ||
Revision as of 22:11, 23 June 2014
Creates gang with chosen name in the database.
Syntax
Click to collapse [-]
ServercreateGang ( string GangName )
Required Arguments
- GangName: Name of the gang you wish to create
Click to collapse [-]
ClientcreateGang ( string GangName )
Required Arguments
- GangName: Name of the gang you wish to create
Returns
Returns Gang ID if the gang was created successfully or returns false otherwise.