⚙️Configuration

Configuration guide of Radial Menu System.


Config.lua

Config = {}
Config.Locales = {}
Config.Language = "en" -- en, de, fr, es, pt, nl, it, pl, zh, ar, ja
Config.Framework = "auto" -- "esx", "qb" or "auto" (auto detects which framework is running)

Config.Settings = {
    size = 1.0, -- size of radial menu
}

Config.Open = {
    holdbutton = false, -- if true, hold the button to keep it open
    can_walk = true, -- if true, you can walk while the menu is open
    key = "F3", -- key to open the radial menu (uppercase)
}

-- this options table is just an example, you can change it to fit your needs
Config.Menu = {
    {
        id = 'personal',
        label = 'Personal',
        description = 'Access personal actions such as ID checks and inventory searches',
        icon = 'fa-solid fa-user',
        submenu = {
            {
                label = 'Check ID',
                icon = 'fa-solid fa-id-badge',
                action = function(parent, self)
                    print('Personal option selected')
                end
            },
            {
                label = 'Search Inventory',
                icon = 'fa-solid fa-search',
                action = function(parent, self)
                    print('Personal option selected')
                end
            },
            {
                label = 'Show ID',
                icon = 'fa-solid fa-id-card',
                action = function(parent, self)
                    print('Personal option selected')
                end
            },
            {
                label = 'Show License',
                icon = 'fa-solid fa-certificate',
                action = function(parent, self)
                    print('Personal option selected')
                end
            },
            {
                label = 'Show Vehicle Papers',
                icon = 'fa-solid fa-file-invoice',
                action = function(parent, self)
                    print('Personal option selected')
                end
            },
            {
                label = 'Check Vehicle Papers',
                icon = 'fa-solid fa-file',
                action = function(parent, self)
                    print('Personal option selected')
                end
            },
        }
    },
}

Last updated