Light status beep

I was wondering if there was a way to make a similar script like this one for LSPDFR in FiveM

Something that will create a tone when the lights are activated through Luxart.
I have very little knowledge of scripting so I would appreciate if anyone could help point me in the right direction!

In real life this tone goes off every 5 seconds

Thanks

you can trigger a custom beep sound every 5 sec (while loop) by sending a nui message to a html page (add a ui_page to the luxart manifest if it doesnt have), this has to be added to the luxart script in the part that activate lights

Ok, do you know what the code for that would be?
Not really familiar with scripting

I’ll download the luxart and edit, if manage to do it properly I’ll send to you

Awesome, thank you!
I am using this one, idk if that will help since it already has sounds built in

1 Like

lux_vehcontrol.rar (69.4 KB)
posting here also if someone need

1 Like

I added it to my Luxart Vehicle Control ELS Clicks. It will be out on the official release.