Execute the following SQL code in your database:
handcuffs = { name = 'handcuffs', label = 'Handcuffs', weight = 100, type = 'item', image = 'handcuffs.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Handcuffs' },
local function getJobOutfits(gradeLevel, requiredJob)
local data = Config.Outfits[requiredJob]
local gender = "male"
if QBCore.Functions.GetPlayerData().charinfo.gender == 1 then gender = "female" end
QBCore.Functions.TriggerCallback('qb-clothing:server:getOutfits', function(result)
openMenu({
{menu = "roomOutfits", label = Lang:t("outfits.roomOutfits"), selected = true, outfits = data[gender][gradeLevel]},
{menu = "myOutfits", label = Lang:t("outfits.myOutfits"), selected = false, outfits = result},
{menu = "character", label = Lang:t("outfits.character"), selected = false},
{menu = "accessoires", label = Lang:t("outfits.accessoires"), selected = false}
})
end)
end
exports('getJobOutfits', getJobOutfits)
Make sure your server artifacts version is up to date.