This commit is contained in:
Kakarot
2025-05-11 21:13:37 -05:00
parent d88d91b9e3
commit 70daf38e5e
5 changed files with 720 additions and 1110 deletions
+4 -6
View File
@@ -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