diff --git a/resources/[carscripts]/mh_garage/fxmanifest.lua b/resources/[carscripts]/mh_garage/fxmanifest.lua index 50a38c489..704c4f1ef 100644 --- a/resources/[carscripts]/mh_garage/fxmanifest.lua +++ b/resources/[carscripts]/mh_garage/fxmanifest.lua @@ -5,7 +5,6 @@ game 'gta5' lua54 'yes' client_scripts { - '@NativeUI/NativeUI.lua', '@ox_lib/init.lua', 'config/*.lua', 'client/*.lua' diff --git a/resources/[carscripts]/sn_vehicleKey/client.lua b/resources/[carscripts]/sn_vehicleKey/client.lua index 06fd49d1d..a261f6985 100644 --- a/resources/[carscripts]/sn_vehicleKey/client.lua +++ b/resources/[carscripts]/sn_vehicleKey/client.lua @@ -105,12 +105,12 @@ Citizen.CreateThread(function() end -- lock vehicle with key - if (Config.lockKey and IsControlJustPressed(0, Config.lockKey)) then + --[[ if (Config.lockKey and IsControlJustPressed(0, Config.lockKey)) then local vehicle = GetClosestVehicle(GetEntityCoords(PlayerPedId()), 10.0) if (DoesEntityExist(vehicle) and IsVehicleOrKeyOwner(vehicle)) then ToggleLock(vehicle, GetVehicleDoorLockStatus(vehicle) ~= LockStatus.Locked) end - end + end ]] end end) @@ -799,3 +799,9 @@ local entityEnumerator = { end end, false) ]] + + +RegisterKeyMapping("vehicleLock", "Vehicle Lock", "keyboard", "PAGEUP") +RegisterCommand("vehicleLock", function() + TriggerEvent("VKC:toggleLockOnPlayer") +end, false) \ No newline at end of file diff --git a/resources/[jobs]/[civ]/mh_jobgarage/config.lua b/resources/[jobs]/[civ]/mh_jobgarage/config.lua index cf5617c8d..ae3577ca3 100644 --- a/resources/[jobs]/[civ]/mh_jobgarage/config.lua +++ b/resources/[jobs]/[civ]/mh_jobgarage/config.lua @@ -12,7 +12,7 @@ Config.LogMenu = { Config.Zonen = { ambulance = { Job = "ambulance", - Chiefrang = 11, + Chiefrang = 7, Schluesselkasten = vector3(-1843.8058, -367.9872, 39.7909), EnabledGrade = 2, EnabledMarker = true,