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 |
||
(2 intermediate revisions by the same user not shown) | |||
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">string 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">string createGang ( string GangName )</syntaxhighlight> | ||
==Required Arguments== | ==Required Arguments== | ||
*''' | *'''GangName:''' Name of the gang you wish to create | ||
</section> | </section> | ||
==Returns== | ==Returns== | ||
*'''Gang:''' ID of the gang that was created | |||
Latest revision as of 23:11, 23 June 2014
Creates gang with chosen name in the database.
Syntax
Click to collapse [-]
Serverstring createGang ( string GangName )
Required Arguments
- GangName: Name of the gang you wish to create
Click to collapse [-]
Clientstring createGang ( string GangName )
Required Arguments
- GangName: Name of the gang you wish to create
Returns
- Gang: ID of the gang that was created