From a25da258a800acec393e8db6f734c8b533522f23 Mon Sep 17 00:00:00 2001 From: Asgaard Developments <146543978+s4t4n667@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:49:54 +0000 Subject: [PATCH 1/2] Update client.lua --- resource/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/client.lua b/resource/client.lua index f6f9f0d..b93c371 100644 --- a/resource/client.lua +++ b/resource/client.lua @@ -1,4 +1,4 @@ -if not lib.checkDependency('stevo_lib', '1.7.2) then error('stevo_lib 1.7.2 required for stevo_jobgarages') end +if not lib.checkDependency('stevo_lib', '1.7.2') then error('stevo_lib 1.7.2 required for stevo_jobgarages') end lib.locale() local config = require('config') local stevo_lib = exports['stevo_lib']:import() From 887c8d940352b7553fd04d13070c87865c953b08 Mon Sep 17 00:00:00 2001 From: Asgaard Developments <146543978+s4t4n667@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:53:19 +0000 Subject: [PATCH 2/2] Update config.lua Fixed 'nil value (local 'mods')' and added qb/qbx exports --- config.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/config.lua b/config.lua index 67473ff..e638fcb 100644 --- a/config.lua +++ b/config.lua @@ -49,7 +49,7 @@ return { gradeRequired = 5, vehicles = { - {model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15'} + {model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15', mods = {livery = 1, extras = {{id = 1, disabled = false}, {id = 2, disabled = true}}}} } } @@ -93,7 +93,7 @@ return { gradeRequired = 5, vehicles = { - {model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15'} + {model = 'police', label = 'Police Cruiser', icon = 'circle', iconColor = '#7a5f15', mods = {livery = 1, extras = {{id = 1, disabled = false}, {id = 2, disabled = true}}}} } } @@ -108,11 +108,17 @@ return { giveVehicleKeys = function(entity, plate) -- Wasabi Carlock -- exports.wasabi_carlock:GiveKey(plate) + + -- qb/qbx_vehiclekeys + -- TriggerEvent("vehiclekeys:client:SetOwner", plate) end, removeVehicleKeys = function(entity, plate) -- Wasabi Carlock -- exports.wasabi_carlock:RemoveKey(plate) + + -- qb/qbx_vehiclekeys + -- TriggerEvent("vehiclekeys:client:RemoveOwner", plate) end, -} \ No newline at end of file +}