Permissions
How to grant admin access to op-clothing features.
The gate
Config.Permissions = {
AcePermission = 'op_clothing.admin', -- ACE permission object
AllowedGroups = { 'admin', 'superadmin', 'god' }, -- framework groups
}Option A - ACE permission (recommended)
# allow a whole group
add_ace group.admin op_clothing.admin allow
# or allow a single identifier (license, steam, etc.)
add_principal identifier.license:xxxxxxxxxxxxxxxx group.adminOption B - framework groups
Custom ped permission (separate)
What each feature checks
Feature
Command
Gate
Troubleshooting
Last updated