diff --git a/atms.lua b/atms.lua index 11ecfa9..0cf1638 100644 --- a/atms.lua +++ b/atms.lua @@ -142,7 +142,7 @@ RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function() createBlips() end) Citizen.CreateThread(function() local bossroles = {} - for k, v in pairs(Config.Jobs) do + for k, v in pairs(QBCore.Shared.Jobs) do for l, b in pairs(QBCore.Shared.Jobs[tostring(k)].grades) do if QBCore.Shared.Jobs[tostring(k)].grades[l].isboss == true then if bossroles[tostring(k)] ~= nil then @@ -376,4 +376,4 @@ RegisterNetEvent('jim-payments:client:ATM:give', function() TriggerServerEvent('jim-payments:server:ATM:give', dialog.citizen, dialog.price) end end) -end) \ No newline at end of file +end)