Resource:Gang Manager/deleteGang: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server client function}} Deletes gang from the database. ==Syntax== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">deleteGang ( string Gang )</syntaxhighlight> ==Req...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
==Syntax==
==Syntax==
<section name="Server" class="server" show="true">
<section name="Server" class="server" show="true">
<syntaxhighlight lang="lua">deleteGang ( string Gang )</syntaxhighlight>
<syntaxhighlight lang="lua">bool deleteGang ( string Gang )</syntaxhighlight>


==Required Arguments==
==Required Arguments==
Line 10: Line 10:
</section>
</section>
<section name="Client" class="client" show="true">
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">deleteGang ( string Gang )</syntaxhighlight>
<syntaxhighlight lang="lua">bool deleteGang ( string Gang )</syntaxhighlight>


==Required Arguments==
==Required Arguments==
Line 17: Line 17:


==Returns==
==Returns==
Returns ''true'' if gang was deleted successfully or returns ''false'' otherwise.
*'''Success:''' Boolean that is true if the gang was deleted or false otherwise

Latest revision as of 23:13, 23 June 2014

Deletes gang from the database.

Syntax

Click to collapse [-]
Server
bool deleteGang ( string Gang )

Required Arguments

  • Gang: ID of the gang you wish to delete
Click to collapse [-]
Client
bool deleteGang ( string Gang )

Required Arguments

  • Gang: ID of the gang you wish to delete

Returns

  • Success: Boolean that is true if the gang was deleted or false otherwise