Resource:Gang Manager/setGangLeader

From Multi Theft Auto: Wiki
Revision as of 23:28, 23 June 2014 by ADCX (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets leader of the gang.

Syntax

bool 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

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