diff --git a/modules/vehicleKey/jacksam/client.lua b/modules/vehicleKey/jacksam/client.lua new file mode 100644 index 0000000..67b2908 --- /dev/null +++ b/modules/vehicleKey/jacksam/client.lua @@ -0,0 +1,13 @@ +if GetResourceState('jaksams_VehiclesKeys') ~= 'started' or (BridgeClientConfig.VehicleKey ~= "jaksam" and BridgeClientConfig.VehicleKey ~= "auto") then return end + +VehicleKey = VehicleKey or {} + +VehicleKey.GiveKeys = function(vehicle, plate) + if not plate then return false end + return TriggerServerEvent("vehicles_keys:selfGiveVehicleKeys", plate) +end + +VehicleKey.RemoveKeys = function(vehicle, plate) + if not plate then return false end + return TriggerServerEvent("vehicles_keys:selfRemoveKeys", plate) +end \ No newline at end of file diff --git a/settings/clientConfig.lua b/settings/clientConfig.lua index c1f0445..0ef6b3e 100644 --- a/settings/clientConfig.lua +++ b/settings/clientConfig.lua @@ -6,7 +6,7 @@ BridgeClientConfig.InputSystem = "auto" -- [ auto | ox | qb ] BridgeClientConfig.MenuSystem = "auto" -- [ auto | ox | qb ] BridgeClientConfig.ProgressBarSystem = "auto" -- [ auto | ox | qb ] BridgeClientConfig.ZoneSystem = "ox" -- [ ox | poly ] -BridgeClientConfig.VehicleKey = "auto" -- [ auto | qb-vehiclekeys | MrNewbVehicleKeys | qbx | cd | f_real | mk | mono | okok | qs | renewed | t1ger | wasabi ] +BridgeClientConfig.VehicleKey = "auto" -- [ auto | qb-vehiclekeys | MrNewbVehicleKeys | wasabi | jaksam | qbx | cd | f_real | mk | okok | qs | renewed | t1ger | mono ] BridgeClientConfig.Fuel = "auto" -- [ LegacyFuel | ox_fuel | ps-fuel | qs-fuelstations | Renewed-Fuel | ti_fuel | x-fuel | okokGasStation | BigDaddy | cdn | sna | ] BridgeClientConfig.TargetSystem = "ox" -- [ ox | qb | sleepless | auto ] -- sleepless is only partially supported and would need another system in place