Converted and fully reworked. Multiple players supported. Mostly synced between players. Initial script/idea from Voxelity.
This script handles the emergency lights and the siren seperately.
It has 3 variants you can choose from:
Variant 1:
Press G to toggle the siren on/off The E key works normally.
Variant 2:
Press E to toggle between: ELS/Siren on -> ELS on/Siren off -> Both off
Variant 3:
Toggles the ELS-Lights via the command /togels The siren gets controlled via E Key
You can configure it in the meta.xml.