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