[Free] Ultimate Lighting Controller

This probably has nothing to do with ULC

I get this error

This is usually a syntax error in the ulc.lua file. Check server console for any errors when restarting the resource.

im not sure what im doing wrong the script works this no hud… no errors are coming up I am on the 1.71 version

The HUD only shows if you’re inside a vehicle that has ULC properly configured and it has stage buttons.

If the vehicle has a config already and you expect it to be working you should check the client console for errors when entering the vehicle, and the server console for errors when restarting ULC.

can you use this with pma-sirensync / renewed-sirensync?

If you just mean in terms of compatibility, there should be no issues with any siren controller, ULC only interacts with extras.

If you mean integration with the lights, there’s no functionality between those resources and ULC setup currently.

How would one fix it where when i push stage 1 it only lights up what extra i have selected instead of going straight to stage 3 no matter what button i pushed for my stage lighting.

Going to need a lot more info than that. Send your ulc.lua and I can take a look!

does this script work for els because elsplus is broken

1 Like

This script is made to make Non-ELS function similarly to ELS.

So no.

Not a big commentor, but I was curious as to why the brake configuration doesn’t work when I brake with my controller. It only seems to work when I press “S” on my keyboard. Is this just how the script operates or did I mess up the configuration/keybinds?

Chances are it’s set up this way, shouldn’t be too hard to change - all it takes is adding an extra condition to activate whatever functionality it uses.

I’m not the brightest cookie, but I’d assume it would fall under “RegisterKeyMapping” in the c_brake.lua file?

You just need to assign a secondary binding for the brake key binding in your FiveM key bindings. No code editing required.

The secondary key bindings can’t be set by default from the script like the primary one for S key can unfortunately. (AFAIK)

1 Like

Figures it was as easy as that. Thank you for the response. I spent an hour trying to figure out I was doing wrong with the mapping. For some reason I had both my primary and secondary keys set as “S”. Should’ve known to check that before resorting to editing the coding.

Trying to add a ULC file for a pack with extra lighting. Extras turn off when they should, but they don’t enable again. ULC file below, any ideas appreciated
ulc.lua (1.8 KB)

Try setting repair to true on the buttons.

Read more about repair here:

1 Like

Fixed it. Thank you!