Resource:Gang Manager/setGangTag: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server function}} Sets tag of the gang. ==Syntax== <syntaxhighlight lang="lua"> setGangRules ( string Gang, string Rules ) </syntaxhighlight> ===Required Arguments=== *'''Gang:''' ID of the gang yo...")
 
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 tag was successfully set or ''false'' otherwise.
*'''Success:''' Boolean that is true if gang tag was successfully set or false otherwise

Latest revision as of 23:32, 23 June 2014

Sets tag of the gang.

Syntax

bool setGangRules ( string Gang, string Rules )

Required Arguments

  • Gang: ID of the gang you wish to set tag of
  • Tag: New tag of the gang that you wish to set

Returns

  • Success: Boolean that is true if gang tag was successfully set or false otherwise