vehicle keys moved to new auto/config format
This commit is contained in:
1 parent
355d8dd29f
commit
aede7a3d2a
14 files changed
+43
-14
No files matched your search
@@ -1,4 +1,6 @@
|
||||
if GetResourceState('F_RealCarKeysSystem') ~= 'started' or (BridgeClientConfig.VehicleKey ~= "F_RealCarKeysSystem" and BridgeClientConfig.VehicleKey ~= "auto") then return end
|
||||
local resourceName = "F_RealCarKeysSystem"
|
||||
local configValue = BridgeClientConfig.VehicleKey
|
||||
if (configValue == "auto" and GetResourceState(resourceName) ~= "started") or (configValue ~= "auto" and configValue ~= resourceName) then return end
|
||||
|
||||
VehicleKey = VehicleKey or {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user