Resource:Gang Manager/setGangRules: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server function}} Sets rules of the gang. ==Syntax== <syntaxhighlight lang="lua"> setGangRules ( string Gang, string Rules ) </syntaxhighlight> ===Required Arguments=== *'''Gang:''' ID of the gang ...")
 
No edit summary
 
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
setGangRules ( string Gang, string Rules )
bool setGangRules ( string Gang, string Rules )
</syntaxhighlight>
</syntaxhighlight>


Line 12: Line 12:


===Returns===
===Returns===
Returns ''true'' if gang rules were successfully set or ''false'' otherwise.
*'''Success:''' Boolean that is true if gang rules were successfully set or false otherwise

Latest revision as of 23:32, 23 June 2014

Sets rules of the gang.

Syntax

bool setGangRules ( string Gang, string Rules )

Required Arguments

  • Gang: ID of the gang you wish to set rules of
  • Rules: Rules of the gang

Returns

  • Success: Boolean that is true if gang rules were successfully set or false otherwise