Hamz Product Support
Web HostingDiscordMain Store
  • Getting Started
  • Common Problems
  • Hamz CAD
    • 🎥 Video Tutorial
    • Installation
    • Configuration
  • HAMZ COMMUNITY SITE
    • 🎥 Video Tutorial
    • Requirements
    • Installation
      • Database and SQL
      • SubDomain
      • Uploading Files
      • SSL Certification
    • Configuration
  • Hamz Staff Elite Panel
    • Web Installation
    • Web Configuration
    • Web Cronjob
    • In-Game Requirements
    • In-Game Configuration - Report Menu
    • In-Game Configuration - Admin Menu
    • Common Issues
    • [OPTIONAL] Apache Headers
    • FAQ
  • Hamz Panel
    • Requirements
    • Installation
      • Database and SQL
      • SubDomain
      • Uploading Files
      • SSL Certification
      • Cron Job
    • Configuration
    • FiveM Resource
  • Hamz Department Panel
    • Requirements
    • Installation
      • Database and SQL
      • SubDomain
      • Uploading Files
      • SSL Certification
    • Configuration
  • Hamz Forms
    • Requirements
    • Installation
      • Database and SQL
      • SubDomain
      • Uploading Files
      • SSL Certification
    • Configuration
  • Hamz CAD (In-game)
    • Requirements
    • FAQ
    • Installation
      • 1. API File
      • 2. SQL File
      • 3. FiveM Resource (Final Step)
        • More info on the Config.lua
    • [OPTIONAL] Apache Headers
Powered by GitBook
On this page

Was this helpful?

  1. Hamz CAD (In-game)
  2. Installation
  3. 3. FiveM Resource (Final Step)

More info on the Config.lua

CONFIG.PERMISSIONS = {
    CIVLIAN = true,
    POLICE = {
        ''
    },
    FIRE_EMS = {
        ''
    }
}

The permission system for the CAD works as follows:

  • If the variable is set to TRUE, it'll allow all players to use that dashboard.

  • If you set the variable as follows. (In this example we use the CIVILIAN dashboard)

CIVILIAN = {
   'DISCORD_ROLE_ID',
   'DISCORD_ROLE_ID' 
}
  • The above permission will give access to the Civilian dashboard to users that have the mentioned discord role.

Last updated 1 year ago

Was this helpful?