Joints, carry, player metadata
Remove default joint functions
Go to qb-smallresources\server\consumables.lua Remove this block of code
QBCore.Functions.CreateUseableItem("joint", function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if not Player.Functions.RemoveItem(item.name, 1, item.slot) then return end
TriggerClientEvent("consumables:client:UseJoint", source)
end)
Add carry config
Go to your Renewed-Weaponscarry
Add this inside local props = {}
["weedpackage"] = { carry = true, model = "hei_prop_heist_weed_block_01", bone = 28422, x = 0.01, y = -0.02, z = -0.12, xr = 0.0,
yr = 0.0, zr = 0.0, blockAttack = true, blockCar = true, blockRun = true},
Add player metadata
Go to your qb-core\server\player.lua
Search for:
function QBCore.Player.CheckPlayerData(source, PlayerData)
Add this line as below image
-- Metadata
PlayerData.metadata['weed-rep'] = PlayerData.metadata['weed-rep'] or 0

Inventory Installation
Last updated
Was this helpful?