From ec5f1e0ce4d6cc0ce693f6d9362ba738ef425074 Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Mon, 23 Jun 2025 20:19:27 +0200 Subject: [PATCH] fixes --- .../mt_dealerships/configs/config.lua | 4 +-- .../mt_dealerships/dealerships/fmpdm.lua | 29 ------------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua diff --git a/resources/[carscripts]/mt_dealerships/configs/config.lua b/resources/[carscripts]/mt_dealerships/configs/config.lua index a0f5db842..c511f14f7 100644 --- a/resources/[carscripts]/mt_dealerships/configs/config.lua +++ b/resources/[carscripts]/mt_dealerships/configs/config.lua @@ -5,9 +5,9 @@ Config = Config or {} Config.debug = false -- if true it'll print some debug on F8/console and active all zones debug Config.framework = 'qbx' -- qb, qbx, esx (need to change the export on the Config.core) Config.core = exports['qb-core']:GetCoreObject() -- Your core export (for qb is exports['qb-core']:GetCoreObject()) (for esx is exports.es_extended:getSharedObject()) (for qbx you can just delete this line and add '@qbx_core/modules/playerdata.lua', to the fxmanifest.lua client_scripts) -Config.target = 'qb_target' -- ox_target, qb-target, interact, ... +Config.target = 'qb-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.keys = false -- qb-vehiclekeys, qbx_vehiclekeys, mk_vehiclekeys, qs-vehiclekeys Config.locale = 'de' Config.useTabletAnimation = true diff --git a/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua b/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua deleted file mode 100644 index 687d451e6..000000000 --- a/resources/[carscripts]/mt_dealerships/dealerships/fmpdm.lua +++ /dev/null @@ -1,29 +0,0 @@ -Config.dealerships = Config.dealerships or {} - -Config.dealerships.fmpdm = { -- 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) - testDriveRoutingBucket = true, -- Set this to false if you don't want the test drive to be inside of a Routing Bucket - allowChangeVehicle = true, -- If true players will be able to change the vehicles on the catalogue witout job - testDriveTime = 50, -- Test drive time in seconds - testDriveSpawn = vec4(-805.46, -237.29, 37.12, 206.87), -- Test drive spawn coords - 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(-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' }, - { label = 'Sedans', id = 'sedans' }, - { label = 'SUVs', id = 'suvs' }, - { label = 'Coupes', id = 'coupes' }, - { label = 'Muscle', id = 'muscle' }, - } -} \ No newline at end of file