keys moved to client config
This commit is contained in:
1 parent
5f42429c53
commit
9a04f05448
28 files changed
+21
-180
No files matched your search
@@ -1,4 +1,4 @@
|
||||
if GetResourceState('qb-vehiclekeys') ~= 'started' and not GetResourceState("qbx_vehiclekeys") == "started" or (BridgeSharedConfig.VehicleKey ~= "qb-vehiclekeys" and BridgeSharedConfig.VehicleKey ~= "auto") then return end
|
||||
if GetResourceState('qb-vehiclekeys') ~= 'started' and not GetResourceState("qbx_vehiclekeys") == "started" or (BridgeClientConfig.VehicleKey ~= "qb-vehiclekeys" and BridgeClientConfig.VehicleKey ~= "auto") then return end
|
||||
VehicleKey = VehicleKey or {}
|
||||
|
||||
VehicleKey.GiveKeys = function(vehicle, plate)
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
if GetResourceState('qb-vehiclekeys') ~= 'started' and not GetResourceState("qbx_vehiclekeys") == "started" or (BridgeSharedConfig.VehicleKey ~= "qb-vehiclekeys" and BridgeSharedConfig.VehicleKey ~= "auto") then return end
|
||||
|
||||
VehicleKey = VehicleKey or {}
|
||||
|
||||
VehicleKey.GiveKeys = function(src, vehicle, plate)
|
||||
if not plate and vehicle then
|
||||
plate = GetVehicleNumberPlateText(vehicle)
|
||||
end
|
||||
return exports["qb-vehiclekeys"]:GiveKeys(src, plate)
|
||||
end
|
||||
|
||||
VehicleKey.RemoveKeys = function(src, vehicle, plate)
|
||||
if not plate and vehicle then
|
||||
plate = GetVehicleNumberPlateText(vehicle)
|
||||
end
|
||||
return exports["qb-vehiclekeys"]:RemoveKeys(src, plate)
|
||||
end
|
||||
Reference in new issue
Block a user