MrDaGree/ELS-FiveM

When i have the ELS script on my server the headlights on the cars with ELS just keeps blinking like if the emergency lights was on, but they are not.

Closed this issue · 3 comments

Describe the bug
When i have the ELS script on my server the headlights on the cars with ELS just keeps blinking like if the emergency lights was on, but they are not.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
When I turn it off it should not still blink

Screenshots
If applicable, add screenshots to help explain your problem.

ELS Information:
Version #: 1.75
Server Version #:
Screenshots of Config.lua, vcf.lua, vcf folder:

Additional context
Add any other context about the problem here.

lze3 commented

This is probably due to a native setting the emergency lights on. Would require it to be called at a later time to prevent this.

I had the same issue when I ran when ELS was in my server. The issue arose from a resource called Luxart vehicle control turning wigwags on and off. Obviously Lux has two settings, on and off where as ELS had 3 for the different light stages. Being they had the same keybind ("Q"), they both would fire on the keypress. I had to write a custom function in lux to check if the vehicle I was in was an ELS vehicle. If you have any other controllers for lights and sirens I would check there first.

lze3 commented

Hi, please see issue #90 (comment).