JANIEL Resources
  • 🎉Welcome
  • JANIEL-DOCS
    • 🛥️ILLEGAL TUG TRADER
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🛵FASTFOOD DELIVERY
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🕊️Spawn Selector
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • ⛽FUELSTATIONS
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🎣FISHING
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🔄PROGRESSBAR
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 📢NOTIFY
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🏨MOTEL MENU
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • ☠️Death Log
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 🏕️Camp Object
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 💸Money Log
      • 🛠️INSTALLATION
      • 📃CONFIGURATION FILE
    • 💃Animation Menu
      • 📃CONFIGURATION FILE
      • 🛠️INSTALLATION
Powered by GitBook
On this page
  1. JANIEL-DOCS
  2. PROGRESSBAR

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"
} 
PreviousINSTALLATIONNextNOTIFY

Last updated 2 months ago

🔄
📃