Resource:Gang Manager/setGangPermissions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server function}} Sets permission levels of the gang. ==Syntax== <syntaxhighlight lang="lua"> setGangPermissions ( string Gang, integer MinSettings, integer MinRules, integer MinDeposit, i...")
 
No edit summary
Line 17: Line 17:


===Returns===
===Returns===
Returns ''true'' if gang permission levels was successfully set or ''false'' otherwise.
Returns ''true'' if gang permission were was successfully set or ''false'' otherwise.

Revision as of 23:10, 23 June 2014

Sets permission levels of the gang.

Syntax

setGangPermissions ( string Gang, integer MinSettings, integer MinRules, integer MinDeposit, integer MinWithdraw, integer MinLevel, integer MinInvKick )

Required Arguments

  • Gang: ID of the gang you wish to set permissions of
  • MinSettings: Minimal member level required to edit settings
  • MinRules: Minimal member level required to edit rules
  • MinDeposit: Minimal member level required to deposit money
  • MinWithdraw: Minimal member level required to withdraw money
  • MinLevel: Minimal member level required to change level of members with lower level
  • MinInvKick: Minimal member level required to invite and kick members with lower level

Returns

Returns true if gang permission were was successfully set or false otherwise.