1
0
Fork 0
forked from Simnation/Main

upload root

This commit is contained in:
EVO 2025-07-27 15:29:26 +02:00
parent ecadb75724
commit fd93649b43
10 changed files with 30 additions and 7 deletions

View file

@ -48,3 +48,10 @@ local function GetSharedGangs()
return QBShared.Gangs
end
exports('GetSharedGangs', GetSharedGangs)
-- Jobs Creator integration (jobs_creator)
RegisterNetEvent("jobs_creator:injectJobs", function(jobs)
QBCore.Shared.Jobs = jobs
end)

View file

@ -47,3 +47,11 @@ local function GetSharedGangs()
return QBShared.Gangs
end
exports('GetSharedGangs', GetSharedGangs)
-- Jobs Creator integration (jobs_creator)
RegisterNetEvent("jobs_creator:injectJobs", function(jobs)
if type(source) == "number" and source > 0 then return end
QBCore.Shared.Jobs = jobs
end)

View file

@ -140,3 +140,11 @@ QBShared.Jobs = {
},
},
}
-- Jobs Creator integration (jobs_creator)
RegisterNetEvent("jobs_creator:injectJobs", function(jobs)
if IsDuplicityVersion() and type(source) == "number" and source > 0 then return end
QBShared.Jobs = jobs
end)