Need help with scripting a custom ELS system

Before you say “well just download one of the premade ones, please note that my vehicles use the default lighting system and ELS would not work with them.”

Basically what I’m trying to do is get the emergency lights ONLY to turn on when the player presses a button. I understand Lua syntax and all, but I haven’t scripted anything in FiveM yet.

Any/all help is appreciated!

There was a script that already does this with default vehicle lighting.

???