This server resource allows for synchronized ELS-style siren control and features, as well as synchronized indicator and hazard lights. It has been in use on the High-Speed Gaming server for several months and has proven effective.
I was planning on releasing this resource at a later date, after polishing it up and addressing a few issues. However, it has been brought to my attention that stolen versions of the code have been sold for (sometimes) large sums of money. This is not only very unfortunate (especially for those who paid money for this free resource), but also unacceptable. I’ve thus decided to bring it to the public: to prevent others from falling victim to the predators out there, and also since it was slated for release anyway.
The code is not the best, by any means. It was made while I was learning the basics of Lua and scripting for FiveM (in fact, I’m still learning). But, what’s important is that it works and people enjoy using it.
Version:
1.01
Fixed an issue where the radio would be stuck on.
Features:
Does not affect or control vehicle emergency lighting (this is not ELS).
All features are synchronized for all players.
Intuitive controller support (uses similar layout as ELS).
Full siren and horn tone control (mute, manual tones, air horn, main siren tones, and auxiliary siren tone).
Main siren will remain on when exiting the vehicle (this is intentional and meant to be realistic).
Hazard and indicator light control.
Indicators turn off automatically after a short delay (if the vehicle is moving).
Installation:
(1) Place the lux_vehcontrol folder inside your server’s resources folder.
(2) Add start lux_vehcontrol to your server’s server.cfg file.
Notes:
For additional information, see the client.lua file.
Credits:
Luxart Vehicle Control is coded by Lt.Caine.
Thank you to the FiveM developers for providing us with a great online platform we can all enjoy.
Albo’s or Luxart can work with els cars, But all clients but Have an ELS folder in their GTA directory. And the most up to date ELS and AdvanceHook, The els XML files go in the ELS folder just like the LSPDFR version on els. Works on my server with Albos and lux’s scripts.
Yes it works,BUT how do you get the Flashing lights to show up for other people? Couse all they see is Very slow lights. All my officers have the same setups,but we never see each others lights as the user does, and the Civs sure as hell wont see em either.