Resource:Gang Manager/getGangLeader: Difference between revisions

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


Line 12: Line 12:
===Returns===
===Returns===
Returns account name of the current gang leader or ''false'' otherwise.
Returns account name of the current gang leader or ''false'' otherwise.
*'''AccountName:''' he account that is used by a gang leader

Revision as of 23:18, 23 June 2014

Gets current leader of the gang.

Syntax

string getGangLeader ( string Gang )

Required Arguments

  • Gang: ID of the gang that you want to get leader of

Returns

Returns account name of the current gang leader or false otherwise.

  • AccountName: he account that is used by a gang leader