# Joints, carry, player metadata

## Remove default joint functions

Go to qb-smallresources\server\consumables.lua\
\
Remove this block of code

{% code title="qb-smallresources\server\consumables.lua" %}

```lua
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)
```

{% endcode %}

***

## Add carry config

Go to your `Renewed-Weaponscarry`

Add this inside **local props = {}**

{% code title="client/main.lua" %}

```lua
 ["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},
```

{% endcode %}

***

## Add player metadata

Go to your qb-core\server\player.lua

1. Search for:

   <pre class="language-lua" data-title="player.lua"><code class="lang-lua">function QBCore.Player.CheckPlayerData(source, PlayerData)
   </code></pre>

2. Add this line as below image `-- Metadata`&#x20;

   ```lua
   PlayerData.metadata['weed-rep'] = PlayerData.metadata['weed-rep'] or 0
   ```

<figure><img src="https://1360800565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtOtPiYSp5UBrvwODMVI%2Fuploads%2FZjpCssvGZZXLZO0nobvh%2Fresources-1680274246222.gif?alt=media&#x26;token=30db4dea-4b32-4a99-939c-6bddb3492fe6" alt=""><figcaption><p>player.lua</p></figcaption></figure>

## Inventory Installation
