Note that the licences are to be granted by police officers using the default grantlicense command which is for both qbcore and qbox
In the police job resources there is a option for the licences police are allowed to give and you just need to add:
playerData.metadata.bountyHunter = playerData.metadata.bountyHunter or 0
["bounty_contract"] = {
label = "Bounty Contract",
weight = 0,
stack = true,
close = true,
description = "A contract",
},
["empty_bounty_bag"] = {
label = "Bounty Bag",
weight = 0,
stack = true,
close = true,
description = "A bag containing a body",
},
["bounty_bag"] = {
label = "Bounty Bag",
weight = 8000,
stack = true,
close = true,
description = "A bag containing a body",
},
["bounty_licence"] = {
label = "Bounty Licence",
weight = 0,
stack = false,
close = true,
description = "A Bounty Hunting Licence",
},
Copy the image from kevin-bountycontracts and paste them in ox_inventory > web > images
bounty_contract = { name = 'bounty_contract', label = 'Bounty Contract', weight = 0, type = 'item', image = 'bounty_contract.png', unique = true, useable = true, shouldClose = true, description = 'A contract' },
empty_bounty_bag = { name = 'empty_bounty_bag', label = 'Empty Bounty Bag', weight = 0, type = 'item', image = 'empty_bounty_bag.png', unique = false, useable = true, shouldClose = true, description = 'A empty body bag' },
bounty_bag = { name = 'bounty_bag', label = 'Bounty Bag', weight = 8000, type = 'item', image = 'bounty_bag.png', unique = true, useable = true, shouldClose = true, description = 'A bag containing a body' },
bounty_licence = { name = 'bounty_licence', label = 'Bounty Licence', weight = 8000, type = 'item', image = 'bounty_bag.png', unique = true, useable = true, shouldClose = true, description = 'A Bounty Hunting Licence' },
Copy the image from kevin-bountycontracts and paste them in qb-inventory > html > images