From 7082b30b1f95a3f9bd35d0fef14d1863da05a526 Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Mon, 23 Jun 2025 20:28:52 +0200 Subject: [PATCH] fixes --- resources/[carscripts]/mt_dealerships/configs/config.lua | 2 +- .../mt_dealerships/dealerships/map4allpdm.lua | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/[carscripts]/mt_dealerships/configs/config.lua b/resources/[carscripts]/mt_dealerships/configs/config.lua index 96860c9e1..008ab0475 100644 --- a/resources/[carscripts]/mt_dealerships/configs/config.lua +++ b/resources/[carscripts]/mt_dealerships/configs/config.lua @@ -7,7 +7,7 @@ Config.framework = 'qbx' -- qb, qbx, esx (need to change the export on the Confi 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.banking = 'Renewed-Banking' -- qb-banking, Renewed-Banking, (can change at server/functions.lua) ... -Config.keys = false -- qb-vehiclekeys, qbx_vehiclekeys, mk_vehiclekeys, qs-vehiclekeys +Config.keys = 'sn_vehicleKey' -- qb-vehiclekeys, qbx_vehiclekeys, mk_vehiclekeys, qs-vehiclekeys Config.locale = 'en' Config.useTabletAnimation = true diff --git a/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua b/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua index 0afd907d7..3b2439f37 100644 --- a/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua +++ b/resources/[carscripts]/mt_dealerships/dealerships/map4allpdm.lua @@ -24,10 +24,10 @@ Config.dealerships.cardealer = { -- Dealership ID, NEEDS TO BE THE SAME AS THE J { 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 - { 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 }, + { coords = vec3(-38.4983, -1099.9435), radius = 0.3, vehicleCoords = vec4(-42.7976, -1101.9343, 26.3023), vehicle = 'premier', vehicleColor = 54 }, + { coords = vec3(-40.7462, -1094.6582), radius = 0.3, vehicleCoords = vec4(-40.7462, -1094.6582, 26.2744), vehicle = 'mesa', vehicleColor = 0 }, + { coords = vec3(-47.2404, -1095.9189), radius = 0.3, vehicleCoords = vec4(-47.8146, -1091.7627, 27.3023), vehicle = 'vacca', vehicleColor = 73 }, + { coords = vec3(-51.2196, -1094.9263), radius = 0.3, vehicleCoords = vec4(-55.2371, -1097.4758, 27.3023), 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' },