Scripts Vehicle Shop 2 ConfigurationConfiguration guide of Admin Menu System.
Vehicle Shop Configuration
Framework Selection
Copy 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
Copy Config.Language = "en" -- Available: "en", "de", "fr", "es", "pt"
Sets the default language for UI and notifications.
General Settings
Copy 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
Copy 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
Copy 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
Copy 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
Copy 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
Copy 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.
Last updated 23 hours ago