CES Help Document > FiveM > Vehicle Underglow Toggle

Vehicle Underglow Toggle

1. Installation

Extract the Script

Unzip vehicle_underglow_toggle v1.5.zip and place the folder into your resources/ directory.

2. Start the Script

In your server.cfg, add

ensure vehicle_underglow_toggle

3. How to Use

Get in a vehicle.

Press the key or trigger the command/menu you've bound (you may need to integrate it manually).

Choose from:

✅ Toggle underglow on/off

🟥 Red, 🟩 Green, 🟦 Blue, 🟪 Purple, 🟨 Yellow, 🟫 White, 🟦 Cyan

🌈 Enable RGB cycle mode (optional)

4. Color Options in Code

local vehicleColors = {
    {name = "Red", r = 255, g = 0, b = 0},
    {name = "Green", r = 0, g = 255, b = 0},
    {name = "Blue", r = 0, g = 0, b = 255},
    {name = "Yellow", r = 255, g = 255, b = 0},
    {name = "Purple", r = 128, g = 0, b = 128},
    {name = "Cyan", r = 0, g = 255, b = 255},
    {name = "White", r = 255, g = 255, b = 255}
}

You can expand this list with your own color presets.

5. Developer Notes

Uses NativeUI.lua to generate the menu

Controls both neon color and neon light toggles

Works on all vehicle types that support underglow

You can add a command (like /underglow) to open the menu or bind it to an interaction key/menu


Suggest an edit

Review this page

crazyeyes29

1 recommend this page