1
0
Fork 0
forked from Simnation/Main
Main/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua

44 lines
3.5 KiB
Lua
Raw Normal View History

2025-06-23 20:12:22 +02:00
Config.dealerships = Config.dealerships or {}
Config.dealerships.cardealer = { -- Dealership ID, NEEDS TO BE THE SAME AS THE JOB!!!
enabled = true, -- true or false to enable or disable the dealership
label = 'Premium Deluxe Motorsports', -- Dealership label
logo = 'https://i.ibb.co/nkBN3bs/logo.png', -- Dealership logo that'll show on UI
job = false, -- Dealership job or false to not player owned dealerships, NEEDS TO BE THE SAME AS THE ID!!!
lockCatalogueJob = false, -- can be false for everyone to open the catalogue or a job if you want to lock it to some job
currency = 'bank', -- bank, cash or money to ESX (Also to QBCore you can choose other currency like crypto and etc)
useStock = false, -- When using job = false this will be ignored
allowBuyCatalogue = true, -- If true players will be able to buy the vehicles on the catalogue
allowChangeVehicle = false, -- If true players will be able to change the vehicles on the catalogue witout job
needsMission = true, -- Set to false or true to disable/disable the needing of going pick up the car
testDriveRoutingBucket = true, -- Set this to false if you don't want the test drive to be inside of a Routing Bucket
testDriveTime = 50, -- Test drive time in seconds
2025-06-30 14:40:34 +02:00
testDriveSpawn = vec4(-18.6879, -1109.9081, 25.6721, 162.7105), -- Test drive spawn coords
2025-06-23 20:12:22 +02:00
truck = 'packer', -- The truck used on importation
trailer = 'tr4', -- The trailer used on importation
truckSpawn = vec4(-58.46, -1072.99, 27.23, 70.0), -- Importation truck spawn coords
2025-06-30 14:40:34 +02:00
buySpawn = vec4(-31.2584, -1089.9768, 25.4222, 331.1034), -- Vehicle buy spawn coords
2025-06-23 20:12:22 +02:00
comissions = { buyPercentage = 50, sellComission = 10 }, -- The dealership commisions (buyPercentage is the percentage of vehicle price that the dealership will buy it and the sellComission is the comission that the employee will earn on selling vehicles to players)
2025-06-23 22:05:58 +02:00
blip = { enabled = false, coords = vec3(-58.01, -1097.08, 26.44), sprite = 523, color = 3, scale = 0.6, display = 4 }, -- Dealership map blip
2025-06-23 20:12:22 +02:00
dashboards = { -- Dealership dashboards to import vehicles and see transations and etc
{ coords = vec3(-45.9, -1090.5, 26.4), radius = 0.5, includeBossMenu = true },
},
catalogues = { -- The catalogues to the players see the vehicle and emplooyes change the vehicle on showrrom
2025-06-30 14:56:48 +02:00
{ coords = vec3(-44.9793, -1101.1768, 26.4150), radius = 0.3, vehicleCoords = vec4(-47.1362, -1101.3213, 25.4224, 249.8032), vehicle = 'premier', vehicleColor = 54 },
2025-06-30 14:51:51 +02:00
{ coords = vec3(-48.1848, -1094.3549, 26.4005), radius = 0.3, vehicleCoords = vec4(-47.6907, -1092.1736, 25.4223, 191.9820), vehicle = 'club', vehicleColor = 0 },
{ coords = vec3(-41.5470, -1097.1390, 26.4071), radius = 0.3, vehicleCoords = vec4(-41.6594, -1094.7953, 25.4223, 207.8178), vehicle = 'chavosv6', vehicleColor = 73 },
{ coords = vec3(-40.0641, -1100.7145, 26.3959), radius = 0.3, vehicleCoords = vec4(-37.3014, -1101.6620, 25.4223, 73.1960), vehicle = 'baller2', vehicleColor = 6 },
2025-06-23 20:12:22 +02:00
},
categories = { -- The categories that will show on the catalogue and dashboard (need to add the shop with the job name to the vehicles.lua too on the shops field otherwise it'll not show the vehicles!!)
{ label = 'Compacts', id = 'compacts' },
{ label = 'Sedans', id = 'sedans' },
{ label = 'SUVs', id = 'suvs' },
{ label = 'Coupes', id = 'coupes' },
{ label = 'Muscle', id = 'muscle' },
2025-06-24 01:36:09 +02:00
{ label = 'Offroad', id = 'offroad' },
2025-06-23 20:12:22 +02:00
},
pickups = {
vec4(1201.35, -3187.03, 5.98, 175.35)
}
}