Documentation
DiscordStore
  • STG
    • 🖐️Welcome!
  • 📕Guide
    • 🪝Create Discord Webhook
    • 🤖Create Discord Bot Token
  • Scripts
    • 🚗Vehicle Shop 2
      • 💡Installation
      • ⚙️Configuration
    • 👑Admin Menu
      • 💡Installation
      • ⚙️Configuration
    • 🍕Pizza Maker
      • 💡Installation
      • ⚙️Configuration
    • ♟️Chess
      • 💡Installation
      • ⚙️Configuration
    • 📱Basic Radio
      • 💡Installation
      • ⚙️Configuration
    • 🗺️Treasure Map
      • 💡Installation
      • ⚙️Configuration
    • 🏦Advanced Banking
      • 💡Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🤳Radio System
      • 💡Installation
      • ⚙️Configuration
    • 🥇Gold Panning
      • 💡Installation
      • ⚙️Configuration
    • 🖥️Complex Hud
      • 💡Installation
      • ⚙️Configuration
    • 💃Emote Menu
      • 💡Installation
      • ⚙️Configuration
    • 💴Money Wash
      • 💡Installation
      • ⚙️Configuration
    • 🚘Auto Pilot
      • 💡Installation
      • ⚙️Configuration
    • ⛽Fuel
      • 💡Installation
      • ⚙️Configuration
    • 🫂Multicharacter
      • 💡Installation
      • ⚙️Configuration
    • 🛒3 in 1 Shop
      • 💡Installation
      • ⚙️Configuration
    • 🍎Fruit Job
      • 💡Installation
      • ⚙️Configuration
    • 🍾Bottle Spin
      • 💡Installation
      • ⚙️Configuration
    • 🍕Pizza Delivery
      • 💡Installation
      • ⚙️Configuration
    • 📦Blind Fold
      • 💡Installation
      • ⚙️Configuration
    • 🔫Weapon Shop
      • 💡Installation
      • ⚙️Configuration
    • 💻Hud
      • 💡Installation
      • ⚙️Configuration
    • 🔃Loading Screen
      • 💡Installation
      • ⚙️Configuration
    • ⌚Smart Watch
      • 💡Installation
      • ⚙️Configuration
    • 🎮Hand Console 2
      • 💡Installation
      • ⚙️Configuration
    • 👒Appearance
      • 💡Installation
      • ⚙️Configuration
    • 🃏Card Game V2
      • 💡Installation
      • ⚙️Configuration
    • 🚗Simple Garage
      • 💡Installation
      • ⚙️Configuration
    • 🎸Busker
      • 💡Installation
      • ⚙️Configuration
    • 🔫Raider
      • 💡Installation
      • ⚙️Configuration
    • 🗃️Wallet
      • 💡Installation
      • ⚙️Configuration
    • 🐔Butcher
      • 💡Installation
      • ⚙️Configuration
    • 🃏Card Game
      • 💡Installation
      • ⚙️Configuration
    • 🎮Hand Console
      • 💡Installation
      • ⚙️Configuration
    • 🎲Rubik Cube
      • 💡Installation
      • ⚙️Configuration
    • 👮Jail
      • 💡Installation
      • ⚙️Configuration
    • 🖼️Custom Frame
      • 💡Installation
      • ⚙️Configuration
    • 🎮Gamepad
      • 💡Installation
      • ⚙️Configuration
    • 🏦Banking
      • 💡Installation
      • ⚙️Configuration
    • 🗺️Pause Menu
      • 💡Installation
      • ⚙️Configuration
    • 👒Clothing Store
      • 💡Installation
      • ⚙️Configuration
    • 🚙Vehicle Shop
      • 💡Installation
      • ⚙️Configuration
    • 🧬Character Creator
      • 💡Installation
      • ⚙️Configuration
    • 🛒Purchaseable Market
      • 💡Installation
      • ⚙️Configuration
    • 📄Billing
      • 💡Installation
      • ⚙️Configuration
  • 🎸Copy of Busker
    • 💡Installation
    • ⚙️Configuration
Powered by GitBook
On this page
  • Vehicle Shop Configuration
  • Framework Selection
  • Localization
  • General Settings
  • Driving License Requirement
  • Custom License Plate
  • Available Colors
  • Vehicle Shop Locations
  • Vehicle Categories and Models
  1. Scripts
  2. Vehicle Shop 2

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.

PreviousInstallationNextAdmin Menu

Last updated 23 hours ago

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

🚗
⚙️
STG Tebex