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
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
getGangLeader ( string Gang )
string getGangLeader ( string Gang )
</syntaxhighlight>
</syntaxhighlight>


Line 11: Line 11:


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

Latest revision as of 23:20, 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

  • AccountName: Account name of the account that is used by a gang leader