Installation
This script must be started after your main priority scripts.
Start m_radio_audio after your framework and any other priority resources.
ensure framework
ensure other_scripts
ensure m_radio_audio -- start this under your priority scripts (framework etc)Do not copy this exact layout - it is an example only.
Adding your own audio
The bundled clips were trimmed from a free, non-copyright sound database: pixabay.com/sound-effects. Three sections were taken from this police and fire scanner clip.
Drop the files in
Three clips ship in html/sounds. Add as many as you want.
Keep the naming consistent
Stick to the existing structure, for example audio_4.mp3.
Register them
Add each file to Config.RadioFiles in config.lua.
Works with QBCore and ESX (job checks for police, sheriff and so on) as well as standalone.
Last updated
