Resource:Gang Manager/setGangPermissions
Jump to navigation
Jump to search
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 levels was successfully set or false otherwise.