From bc8753ab54d3a448caced1a35594118d9fd6fc88 Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Mon, 23 Jun 2025 19:55:04 +0200 Subject: [PATCH] mt dealership --- .../mt_dealerships/configs/config.lua | 2 +- .../mt_dealerships/dealerships/fmpdm.lua | 20 ++++--------------- .../mt_dealerships/dealerships/map4allpdm.lua | 2 +- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/resources/[carscripts]/mt_dealerships/configs/config.lua b/resources/[carscripts]/mt_dealerships/configs/config.lua index a8320940a..f3f9c6343 100644 --- a/resources/[carscripts]/mt_dealerships/configs/config.lua +++ b/resources/[carscripts]/mt_dealerships/configs/config.lua @@ -8,7 +8,7 @@ Config.core = exports['qb-core']:GetCoreObject() -- Your core export (for qb is Config.target = 'ox_target' -- ox_target, qb-target, interact, ... Config.banking = 'Renewed-Banking' -- qb-banking, Renewed-Banking, (can change at server/functions.lua) ... Config.keys = 'qbx_vehiclekeys' -- qb-vehiclekeys, qbx_vehiclekeys, mk_vehiclekeys, qs-vehiclekeys -Config.locale = 'en' +Config.locale = 'de' Config.useTabletAnimation = true diff --git a/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua b/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua index e0e9dce6c..687d451e6 100644 --- a/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua +++ b/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua @@ -14,10 +14,10 @@ Config.dealerships.fmpdm = { -- Dealership ID, NEEDS TO BE THE SAME AS THE JOB!! buySpawn = vec4(-796.82, -219.97, 37.26, 120.47), -- Vehicle buy spawn coords blip = { enabled = true, coords = vec3(-795.15, -238.44, 37.08), sprite = 523, color = 3, scale = 0.6, display = 4 }, -- Dealership map blip catalogues = { -- The catalogues to the players see the vehicle and emplooyes change the vehicle on showrrom - { coords = vec3(-792.55, -227.65, 37.4), radius = 0.4 }, - { coords = vec3(-788.9, -225.45, 37.4), radius = 0.4 }, - { coords = vec3(-781.35, -238.1, 37.35), radius = 0.4 }, - { coords = vec3(-785.85, -240.35, 37.35), radius = 0.4 }, + { coords = vec3(-38.4983, -1099.9435), radius = 0.3, vehicleCoords = vec4(-42.7976, -1101.9343, 26.3023, 300.1392), vehicle = 'premier', vehicleColor = 54 }, + { coords = vec3(-40.7462, -1094.6582), radius = 0.3, vehicleCoords = vec4(-40.7462, -1094.6582, 26.2744, 290.8288), vehicle = 'mesa', vehicleColor = 0 }, + { coords = vec3(-47.2404, -1095.9189), radius = 0.3, vehicleCoords = vec4(-47.8146, -1091.7627, 27.3023, 184.0490), vehicle = 'vacca', vehicleColor = 73 }, + { coords = vec3(-51.2196, -1094.9263), radius = 0.3, vehicleCoords = vec4(-55.2371, -1097.4758, 27.3023, 308.8009), vehicle = 'cavalcade', vehicleColor = 4 }, }, 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' }, @@ -25,17 +25,5 @@ Config.dealerships.fmpdm = { -- Dealership ID, NEEDS TO BE THE SAME AS THE JOB!! { label = 'SUVs', id = 'suvs' }, { label = 'Coupes', id = 'coupes' }, { label = 'Muscle', id = 'muscle' }, - { label = 'Sports Classics', id = 'classics' }, - { label = 'Sports', id = 'sports' }, - { label = 'Super', id = 'super' }, - { label = 'Motorcycles', id = 'motorcycles' }, - { label = 'OffRoad', id = 'offroad' }, - { label = 'Industrial', id = 'industrial' }, - { label = 'Utility', id = 'utility' }, - { label = 'Vans', id = 'vans' }, - { label = 'Cycles', id = 'cycles' }, - { label = 'Service', id = 'service' }, - { label = 'Commercial', id = 'commercial' }, - { label = 'Open Wheel', id = 'openwheel' }, } } \ No newline at end of file diff --git a/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua b/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua index 599ee3530..0c50ffcb2 100644 --- a/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua +++ b/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua @@ -1,7 +1,7 @@ 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 + enabled = false, -- 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!!!