Midnight Dev
  • Vehicle Control Menu
    • Installation
    • Configuration
      • Fuel Script
      • Restrictions to Opening Menu
      • Keybinds and Allowed Controls
      • Restricted Passenger Control
      • Refresh Time
      • Hide Headlight/Neon Controls
    • Commands, Exports, Events
  • Neon Controller
    • Installation
    • Configuration
      • Keybinds and Allowed Controls
    • Commands, Exports, Events
  • Midnight Progress Bar
  • Midnight Menu and Input (Package)
Powered by GitBook
On this page
  1. Vehicle Control Menu
  2. Configuration

Hide Headlight/Neon Controls

There are many advanced neon and headlight controller scripts developed by FiveM scripters (including our very own advanced controller script, coming soon!). The vehicle control menu includes a basic neon and headlight controller with simple toggle functionality and the ability to change colors.

If you have a more advanced script for handling neons installed on your server, you can change Config.HideNeonControl to true. Doing so will hide the built-in controller from this script, helping to avoid feature duplication and reduce repetitiveness in the user interface. Same can be done for headlights

shared/config.lua
-- If your server has a seperate controller/tuner script to handle neons, you can disable them in this script
Config.HideNeonControl = false

-- If your server has a seperate controller/tuner script to handle headlights, you can disable them in this script
Config.HideHeadlightControl = false
PreviousRefresh TimeNextCommands, Exports, Events

Last updated 1 month ago