⚙️Configuration

Configuration guide of Admin Menu System.

Vehicle Shop Configuration


Framework Selection

Config.Framework = "auto" -- Options: "auto", "esx", "qb"

Determines which framework will be used. When set to auto, it will automatically detect esx or qb-core.


Localization

Config.Language = "en" -- Available: "en", "de", "fr", "es", "pt"

Sets the default language for UI and notifications.


General Settings

Config.maxSpeed = 200 -- Speed limit in test drives (0 to disable limit)
Config.Target = false -- Enable or disable target interaction system
Config.testDriveTime = 60 -- Duration of test drives in seconds
Config.Debug = false -- Enable for debug logging in console

Driving License Requirement

Config.DrivingLicense = {
    active = true,
    license = "driver"
}

When active is true, players must have a license of the specified type to purchase vehicles.


Custom License Plate

Config.Plate = {
    customPlate = true,
    price = 500,
    onlyNumbers = false,
    length = {
        min = 5,
        max = 8,
    }
}

Allows players to set a custom license plate during purchase.


Available Colors

Config.Colors = {
    {r = 216, g = 217, b = 215},
    {r = 253, g = 142, b = 39},
    ...
}

These are the colors available for selection in the vehicle shop.


Vehicle Shop Locations

Config.VehicleShops = {
    {
        type = "car", -- car, boat, helicopter, plane, police, ambulance
        coord = vec4(...),
        style = "npc", -- or "marker"
        npc = "a_m_y_business_01",
        marker = {...},
        spawn = {
            show = vec4(...),
            testDrive = vec4(...),
            delivery = vec4(...)
        },
        camera = {
            camCoord = vector3(...),
            camRotation = vector3(...)
        },
        blip = {
            active = true,
            label = "Vehicle Shop",
            sprite = 523,
            color = 3,
            scale = 0.7
        },
        job = {
            active = false,
            name = "police" -- Only for job-specific shops
        }
    },
    ...
}

You can configure multiple shop types (e.g., police, boats, ambulances).


Vehicle Categories and Models

Config.Categories = {
    car = {
        {
            id = "sports",
            label = "Sports",
            vehicles = {
                {name = "pariah", price = 1420000},
                ...
            }
        },
        ...
    },
    police = {
        {
            id = "police",
            label = "Police",
            vehicles = {
                {name = "police", price = 50000, min_grade = 1},
                ...
            }
        }
    }
    ...
}

You can restrict specific vehicles by job grade using min_grade.


💡 Tip: You can also change the UI theme and color scheme directly in config.css. Avoid modifying opacity settings to preserve visual clarity.

🛒 Note: You can find this script on our Tebex store: STG Tebex

Last updated