prepping for version update

This commit is contained in:
MrNewb committed 2025-02-24 18:23:19 -05:00
1 parent 06fe2918b7
commit 6efabfbbd8
29 files changed
+105 -53

No files matched your search

@@ -1,12 +1,13 @@
if GetResourceState('Renewed-Vehiclekeys') ~= 'started' then return end
if GetResourceState('Renewed-Vehiclekeys') ~= 'started' or (BridgeSharedConfig.VehicleKey ~= "Renewed-Vehiclekeys" and BridgeSharedConfig.VehicleKey ~= "auto") then return end
VehicleKey = VehicleKey or {}
VehicleKey.GiveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
if not plate and not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:addKey(plate)
end
VehicleKey.RemoveKeys = function(vehicle, plate)
if not DoesEntityExist(vehicle) then return false end
if not plate and not DoesEntityExist(vehicle) then return false end
return exports['Renewed-Vehiclekeys']:removeKey(plate)
end