🔨Jobs creator (Jaksam)

Go to: integrations/cl_integrations.lua and paste at the end of file

RegisterNetEvent("jobs_creator:framework:ready", function()
    exports["jobs_creator"]:disableScriptEvent("jobs_creator:stash:openStash")
    exports["jobs_creator"]:disableScriptEvent("jobs_creator:armory:openArmory")
end)

RegisterNetEvent("jobs_creator:stash:openStash", function(markerId)
    TriggerServerEvent("inventory:server:OpenInventory", "stash", "stash_jobscreator"..markerId.."", {
        maxweight = 100000,
        slots = 100,
        label = "Almacenamiento"
    })
end)

RegisterNetEvent("jobs_creator:armory:openArmory", function(markerId, armoryData)
    TriggerServerEvent("inventory:server:OpenInventory", "stash", "stash_armoryjob"..markerId.."", {
        maxweight = 100000,
        slots = 100,
        label = "Armeria"
    })
end)

Credits to: Bellido2001 for this snippet

https://discord.com/channels/1088541175507587222/1269243260057030737

Last updated