vehiclekeys to auto or manual
This commit is contained in:
1 parent
b0f1704806
commit
6bcd894fdb
12 files changed
+27
-39
No files matched your search
@@ -1,10 +1,12 @@
|
||||
if GetResourceState('cd_garage') ~= 'started' or (BridgeClientConfig.VehicleKey ~= "cd_garage" and BridgeClientConfig.VehicleKey ~= "auto") then return end
|
||||
|
||||
VehicleKey = VehicleKey or {}
|
||||
|
||||
VehicleKey.GiveKeys = function(vehicle, plate)
|
||||
if not plate then return false end
|
||||
TriggerEvent('cd_garage:AddKeys', plate)
|
||||
end
|
||||
|
||||
VehicleKey.RemoveKeys = function(vehicle, plate)
|
||||
|
||||
return true
|
||||
end
|
||||
Reference in new issue
Block a user