mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 09:18:56 +00:00
updates
This commit is contained in:
+4
-6
@@ -2,12 +2,10 @@ local resourceName = GetCurrentResourceName()
|
||||
|
||||
-- Load Config
|
||||
|
||||
if IsDuplicityVersion() then
|
||||
local configData = LoadResourceFile(resourceName, 'shared/config.json')
|
||||
if not configData then return print('^1[QBCore] Failed to Load Config JSON File') end
|
||||
QBCore.Config = json.decode(configData) or {}
|
||||
print('^2[QBCore] Loaded Config.json')
|
||||
end
|
||||
local Config = LoadResourceFile(resourceName, 'shared/config.json')
|
||||
if not Config then return print('^1[QBCore] Failed to Load Config JSON File') end
|
||||
QBCore.Config = json.decode(Config) or {}
|
||||
print('^2[QBCore] Loaded Config.json')
|
||||
|
||||
-- Load Vehicles
|
||||
|
||||
|
||||
Reference in New Issue
Block a user