Resource:Gang Manager/setGangLeader

From Multi Theft Auto: Wiki
Revision as of 23:05, 23 June 2014 by ADCX (talk | contribs) (Created page with "{{Server function}} Sets leader of the gang. ==Syntax== <syntaxhighlight lang="lua"> setGangLeader ( string Gang, string AccountName ) </syntaxhighlight> ===Required Arguments=== *'''Gang:''' ID of t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets leader of the gang.

Syntax

setGangLeader ( string Gang, string AccountName )

Required Arguments

  • Gang: ID of the gang you wish to change the leader of
  • Leader: Account name of the player which you wish to set as leader

Returns

Returns true if gang leader was successfully set or false otherwise.