This is a script that allows players on your FiveM server to add cool underglow/neon lights to their cars with sick patterns and custom colors. It also has a detailed logging feature which logs to a file and/or server console (configurable) whenever a player toggles any features or changes colors/speeds/patterns, which makes it easy to moderate its usage. I hope you all enjoy and find this useful for the players on your server!
Features:
↳ Logs (Discord webhook)
↳ Extensive configuration
↳ Toggleable whitelist (ACE Permissions)
↳ Animated patterns
↳ Custom colors
↳ Optimization (very low resource usage)
… and even more coming in future updates!
Dependencies:
↳ NeroHiro’s Context Menu v2
Buy ($5 $4):
↳ Tebex
Showcase:
Underglow Script (w/ Logs) | @NadPlayz (Try this link if preview does not work)
Configuration:
Config = {}
Locale = {}
-- [[ 🟢 Configuration 🟢 ]] --
-- General
Config.defaultKeybind = 'u' -- Default keybind to open menu
Config.command = 'underglow' -- Command to open menu
-- Whitelist
Config.whitelist = false -- Enable to use the built-in ACE permission whitelisting feature
Config.acePermission = 'underglow' -- Ace permission needed to use the script // NOTE: Make sure to add 'add_ace group.<GROUP NAME> <ACE PERMISSION> allow' to your server.cfg
-- Logs
Config.enableLogs = true -- Change this to false if you want to disable logs
Config.logToFile = true -- Change this to false if you do not want to log to a file // NOTE: Must have a 'log.txt' file in the resource folder.
Config.printToConsole = true -- Change this to false if you do not want every event to print to server console
Config.logToDiscord = false -- Change this to true and set the webhook URL below if you want every event to be sent to a Discord webhook
Config.discordWebhook = "" -- Make sure to set the above option to true if you wish to send logs to Discord
-- [[ 🔴 Configuration 🔴 ]] --
-- [[ 🟢 Locale 🟢 ]] --
-- General
Locale.menu = "Vehicle Underglow Menu"
Locale.goBack = "< Go Back"
Locale.status = "Status: "
Locale.enabled = "ENABLED"
Locale.disabled = "DISABLED"
Locale.lightsOff = "Turn Off Lights"
Locale.lightsOffDesc = "Press to turn off underglow."
Locale.lightsOn = "Turn On Lights"
Locale.lightsOnDesc = "Press to turn on underglow."
Locale.pattern = "Pattern"
Locale.patternDesc = "Select a pattern."
Locale.color2 = "Color"
Locale.colorDesc = "Select a color."
Locale.speed = "Speed"
Locale.speedDesc = "Set a speed."
Locale.engineOff = "Leave Engine Off"
Locale.engineOffDesc = "Keep lights off when not in vehicle."
Locale.engineOn = "Leave Engine On"
Locale.engineOnDesc = "Keep lights on when not in vehicle."
-- Keyboard Inputs
Locale.setColor = "Set Color"
Locale.r = "Red (R)"
Locale.g = "Green (G)"
Locale.b = "Blue (B)"
Locale.setSpeed = "Set Speed"
Locale.setSpeedDesc = "Lower is faster! (Minimum: 0)"
-- Patterns Menu
Locale.solid = "Solid"
Locale.strobe = "Strobe"
Locale.blink = "Blink"
Locale.wave = "Wave"
Locale.lightMode = " light mode."
-- Colors Menu
Locale.white = "White"
Locale.blue = "Blue"
Locale.electricBlue = "Electric Blue"
Locale.mintGreen = "Mint Green"
Locale.limeGreen = "Lime Green"
Locale.yellow = "Yellow"
Locale.goldenShower = "Golden Shower"
Locale.orange = "Orange"
Locale.red = "Red"
Locale.ponyPink = "Pony Pink"
Locale.hotPink = "Hot Pink"
Locale.purple = "Purple"
Locale.blacklight = "Blacklight"
Locale.rainbow = "Rainbow"
Locale.custom = "Custom"
Locale.color = " color."
-- [[ 🔴 Locale 🔴 ]] --
Note:
Protected by FiveM Asset Escrow system.
If you have any questions, please feel free to message me here - I would be more than happy to help. I appreciate feedback and constructive criticism. Thank you!