Installation
Add dependencies:
Add the script:
Apply Modifications: (if you want to add new job with /adddealerjob)
Citizen.CreateThread(function()
QBCore.Functions.TriggerCallback('qb-management:getsharedjobs', function(data)
QBCore.Shared.Jobs = data
end)
end)
RegisterNetEvent('QBCore:Client:OnSharedUpdate', function(type, job, data)
if type == 'Jobs' then
QBCore.Shared.Jobs[job] = data
end
end)Notes:
Last updated