Halo Radio
Configuration
Everything is in config/config.lua.
General
config/config.lua
Config = {
framework = 'esx', -- 'esx' | 'qbcore' | 'qbox' | 'dh_bridge'
inventory = 'ox',
maxFrequency = 1000,
maxFaves = 6,
trunkingChannelOffset = 100000, -- keeps zone sub-channels away from normal channels
trunkedZonePollInterval = 1000, -- ms between zone checks while on a trunked channel
}
Radio list
config/config.lua
radioList = {
enabled = true,
position = 'top-left', -- top-left | top-right | top-center | bottom-left | bottom-right | bottom-center
offsetX = 20,
offsetY = 20,
showServerId = false, -- show each player's server id
},
Channels
Any frequency not listed here is open to everyone as a normal conventional channel.
| Field | Description |
|---|---|
| name | Shown in the UI |
| type | 'conventional' (default) or 'trunked' |
| restricted | { jobs = {…}, gangs = {…} }. Matching any job or gang grants access. Omit for an open channel |
| zones | Trunked only: { id = { label, coords, radius } } |
config/config.lua
channels = {
[1] = {
name = 'LSPD Dispatch',
type = 'conventional',
restricted = { jobs = { 'lspd' } },
},
[6] = {
name = 'Metro Tac',
type = 'trunked',
restricted = { jobs = { 'lspd', 'ambulance' } },
zones = {
mrpd = { label = 'Mission Row PD', coords = vector3(441.7, -981.1, 30.6), radius = 120.0 },
pillbox = { label = 'Pillbox Hospital', coords = vector3(311.0, -595.0, 43.2), radius = 120.0 },
},
},
[420] = {
name = 'Ballas Line',
type = 'conventional',
restricted = { gangs = { 'ballas' } },
},
}
On a trunked channel, players at Mission Row only hear each other, players at Pillbox only hear each other, and anyone in neither zone is on channel 6 itself (the control frequency).
Locales
UI text is in locales/translations/en.lua.