Resource:Gang Manager/setGangName: Difference between revisions

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


Line 12: Line 12:


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

Latest revision as of 23:30, 23 June 2014

Sets name of the gang.

Syntax

bool setGangName ( string Gang, string GangName )

Required Arguments

  • Gang: ID of the gang you wish to set name of
  • GangName: New name of the gang that you wish to set

Returns

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