CONFIGURATION FILE
You can modify the following settings in `config.lua`:
Config = {}
Config.Version = '1.0.0' -- Current version
-- Controls
Config.Controls = {
cancel = 178, -- Default: DELETE key (178) https://docs.fivem.net/docs/game-references/controls/
}
-- Commands
Config.Commands = {
openUI = 'progui', -- Command to open settings UI
testProgress = 'testprog' -- Command to test progress bar
}
-- Default Settings
Config.Defaults = {
width = "15%", -- Default width of progress bar
position = {
bottom = "15%", -- Default bottom position
left = "0", -- Default left position
right = "0" -- Default right position
},
colors = {
default = "#5177aa", -- Default progress bar color
background = "rgba(20, 20, 20, 0.85)" -- Default background color
}
}
-- UI Settings
Config.UI = {
font = "Poppins",
fontSize = "1.3vh",
lineHeight = "2.5vh",
barHeight = "3.5vh",
borderRadius = "4px"
}
-- Animation Settings
Config.Animation = {
duration = "0.3s",
timing = "ease-in-out"
}
Last updated