> For the complete documentation index, see [llms.txt](https://docs.rytrak.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rytrak.fr/scripts/advanced-handcuffs-system/make-qbcore-compatible.md).

# Make QBCore compatible

1. Activate QBCore in the r\_handcuffs script config

<figure><img src="/files/tCVF0FgH8OqGOsouVPKq" alt=""><figcaption></figcaption></figure>

1. Add the following lines to your qb-core/shared/items.lua file at the very bottom

<pre class="language-lua"><code class="lang-lua">handcuffs = { name = 'handcuffs', label = 'Handcuffs', weight = 100, type = 'item', image = 'handcuffs.png', unique = false, useable = true, shouldClose = true, description = 'Handcuffs' },
handcuff_keys = { name = 'handcuff_keys', label = 'Handcuff keys', weight = 50, type = 'item', image = 'handcuff_keys.png', unique = false, useable = true, shouldClose = true, description = 'Handcuffs keys' },
grinder = { name = 'grinder', label = 'Grinder', weight = 1000, type = 'item', image = 'grinder.png', unique = false, useable = true, shouldClose = true, description = 'Grinder' },
rope = { name = 'rope', label = 'Rope', weight = 100, type = 'item', image = 'rope.png', unique = false, useable = true, shouldClose = true, description = 'Rope' },
<strong>knife = { name = 'knife', label = 'Knife', weight = 100, type = 'item', image = 'knife.png', unique = false, useable = true, shouldClose = true, description = 'Knife' },
</strong></code></pre>

<figure><img src="/files/GeJwU2vpnUUGGv67whwO" alt=""><figcaption></figcaption></figure>

3. And finally, add the images of the items to your inventory (in my case it will be qb-inventory)

The images are located in the r\_handcuffs script folder.

For all inventories, the addition of images is more or less identical.

For qb-inventory the directory is: /qb-inventory/html/images/

4. Restart your server and take advantage of the items using /giveitem \<player id> \<handcuffs / handcuff\_keys / grinder / rope / knife>
