Page cover

Market

ESX, QB, QBX

📦 Market Script – Modern & Flexible! Framework compatibility: QB, QBX, ESX Target support: QB, ESX, OX, Drawtext Theme: Dark Mode & Light Mode Inventory options: 'ox', 'qb', 'esx', 'ps', 'linden' or 'custom' Fast, optimized, and easy to configure.

-- Config.lua

Config = {}
Config.Framework = 'qb' -- 'qb', 'qbx' and 'esx'
Config.Target = 'drawtext' -- 'ox', 'qb', 'esx' and 'drawtext'
Config.Language = 'en' -- 'tr' and 'en'
Config.DefaultTheme = 'dark' -- 'light', 'dark'
Config.AllowThemeChange = true -- true, false - Allow players to change theme
Config.RememberTheme = true -- true, false - Remember player's theme preference
Config.Inventory = 'ox' -- 'ox', 'qb', 'esx', 'ps', 'linden' and 'custom'
Config.CustomInventoryPath = 'custom'
Config.DrawTextRadius = 2.0 
Config.Categories = {
    [1] = {
        id = "food",
        name = "Food & Beverage",
        icon = "",
        color = "#FF6B6B"
    },
    [2] = {
        id = "weapons",
        name = "Weapons",
        icon = "",
        color = "#4ECDC4"
    },
    [3] = {
        id = "tools",
        name = "Tools",
        icon = "",
        color = "#45B7D1"
    },
    [4] = {
        id = "medical",
        name = "Medical",
        icon = "",
        color = "#96CEB4"
    },
    [5] = {
        id = "clothing",
        name = "Clothing",
        icon = "",
        color = "#FFEAA7"
    }
}

Last updated