Radio

Details

Below, you will find detailed configuration for radio.

Configuration file

config/radio.lua
return {
    ---@type boolean
    enabled = true,

    -- if defined, it will enable radios page for certain groups
    -- if set to false, it will take in account above and enable radios page for everyone
    -- who uses dispatch
    ---@type table<string, boolean> | false
    enabledFor = false,
}

Detailed types information

enabledboolean
Defines if radios page is enabled in general.
enabledFortable<string, boolean> | false
If this set to false and enabled is set to true, radios page will be enabled for everyone. Otherwise you can set a table for example:
enabledFor = {
  ['police'] = true
}
In this example, radios page will be shown only to police.