Configuration
How to change the sound used by the body cam.
Prepare the sound
Get the sound you want and make sure it is in MP3 format, then put it into the
html folder.
Register the file
Adjust fxmanifest.lua, specifically the files{} block, to reflect the new
MP3.
files {
'html/index.html',
'html/style.css',
'html/app.js',
'html/example.mp3'
}Point the audio element at it
Head over to index.html and change line 94 to reflect the name of your new
sound.
<audio id="beepAudio" src="example.mp3" preload="auto"></audio>Save all changes and restart the resource.
Last updated
