vehiclekeys to auto or manual

This commit is contained in:
MrNewb committed 2025-03-03 19:09:18 -05:00
1 parent b0f1704806
commit 6bcd894fdb
12 files changed
+27 -39

No files matched your search

@@ -3,11 +3,11 @@ if GetResourceState('mk_vehiclekeys') ~= 'started' or (BridgeClientConfig.Vehicl
VehicleKey = VehicleKey or {}
VehicleKey.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
if not vehicle and not DoesEntityExist(vehicle) then return false end
return exports["mk_vehiclekeys"]:AddKey(vehicle)
end
VehicleKey.RemoveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
if not vehicle and not DoesEntityExist(vehicle) then return false end
return exports["mk_vehiclekeys"]:RemoveKey(vehicle)
end