> For the complete documentation index, see [llms.txt](https://joaos-organization-3.gitbook.io/jpresources-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joaos-organization-3.gitbook.io/jpresources-documentation/installation/inventory/common-issues.md).

# Common Issues

## My items are not saving after game restart

This problem is directly linked to [QBCore](/jpresources-documentation/installation/inventory/installation-page/qbcore.md#replacing-exports-events), if this is not done, script will not be called to load your player items.

How to solve?

### Replace qb-core exports:

Open your qb-core resource on visual studio and replace this entries of **qb-inventory** to **jpr-inventory:**

<details>

<summary>qb-core > client > functions.lua</summary>

**Be**f**ore:**

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2F8qIdHEC7iaTkon7cCyRJ%2Fimage.png?alt=media\&token=99505698-dc4e-46c4-bb3b-45a9b30952f2)

**After:**&#x20;

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FIILgAHz6loJwnsDGUaMj%2Fimage.png?alt=media\&token=e569cac8-5692-4b00-8f33-335c053dee72)

</details>

<details>

<summary>qb-core > server > functions.lua</summary>

**Before**:

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FHm4rvbsYsdJOzQEFGYqQ%2Fimage.png?alt=media\&token=06de3f21-4d78-4673-9b5f-738cc9eba64b)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2Ft7H57aPAwJpVij3uqJ2Q%2Fimage.png?alt=media\&token=d7cd3630-87db-4335-812a-a5e24ce86b38)

**After**:

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FzMi1thmOG7G7B6jGraFP%2Fimage.png?alt=media\&token=8a924cda-78ba-4f37-9dce-b41ee76b9071)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FFCQnSzVzWt9aOUr6oTHu%2Fimage.png?alt=media\&token=9e83c332-5bf5-4e12-8f28-51825138b678)

</details>

<details>

<summary>qb-core > server > player.lua</summary>

**Before**:

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2F1E2T7TyLFq6R2iGFH7RZ%2Fimage.png?alt=media\&token=1306c7b0-a704-4d37-9a3e-e7ef8cddecb9)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FyiBlPWu9VK7iCIL0LV4j%2Fimage.png?alt=media\&token=e386708a-6a67-4816-a14c-c4bdd1ba3911)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2Fp3fw9eQeo287d6SChoQB%2Fimage.png?alt=media\&token=01902d10-f37b-4b3d-aa7e-7797a461bc51)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FOl02ne4Pt9azOMFM8Ua9%2Fimage.png?alt=media\&token=49f5ee64-e97c-4d65-accc-14ec7631418b)

**After**:&#x20;

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FndJPBIwEVCHmK2jvwgDI%2Fimage.png?alt=media\&token=aad09ef2-7c86-4eb1-94ab-cb36dcc2a16d)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FkuuiEVGGe6qg20l0lZQx%2Fimage.png?alt=media\&token=33a73a8e-1a1f-42cd-9481-8ce408f903e6)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2F2ztYwHNqidpOGkZlZKPQ%2Fimage.png?alt=media\&token=4974c24e-7417-4922-8da1-a0859f3baf4f)

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FZp62WeDZnEFaW97W2iir%2Fimage.png?alt=media\&token=e2dec9dd-4886-4ba7-92df-49c13f16d055)

</details>

{% hint style="warning" %}
It is always the same thing, nothing hard on this, just try to do it, pick your **qb-core** resource, open **each file** we describe on above tabs, **CRTL + F**, search **qb-inventory** and **replace** it to **jpr-inventory,** just this..
{% endhint %}

{% hint style="danger" %}
You should replace **ALL entries of qb-inventory to jpr-inventory on your server**, this ones are the **minimum** ones to inventory work as expected with saves.
{% endhint %}

## Why i cant use items (specially food)

Issue is exactly same as [#replace-qb-core-exports](#replace-qb-core-exports "mention"), but, instead of **qb-core** is on **qb-smallresources:**

<details>

<summary>qb-smallresources > server > consumables.lua</summary>

**Before**:

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FVDA2aHhyJdgx7JzT1jor%2Fimage.png?alt=media\&token=57fbcaf5-47fa-480b-bedd-cbfc9b62c3b8)

**After**:

![](https://3317815405-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAcw6nAW8IGe15skCfMoj%2Fuploads%2FjhDMZoBgr6KSM0KA92tc%2Fimage.png?alt=media\&token=a914824f-a7d1-46fa-a6a6-fbb13c221db0)

</details>

<details>

<summary>qb-smallresources > client > consumables.lua</summary>

Replace all entries from qb-inventory to jpr-inventory.

</details>

{% hint style="info" %}
It is always the same thing, nothing hard on this, just try to do it, pick your **qb-smallresources** resource, open **each file** we describe on above tabs, **CRTL + F**, search **qb-inventory** and **replace** it to **jpr-inventory,** just this..
{% endhint %}

{% hint style="danger" %}
If the problem persists means you need to open **jpr-inventory > configs > main\_config.lua** file and set **Config.LatestQBCoreVersions = true** instead of **false**!
{% endhint %}

## Attachments problems

You just need to open **jpr-inventory > configs > main\_config.lua** file and set **Config.LatestQBCoreVersions = true** instead of **false.**

{% hint style="info" %}
If problem persists, please open a discord ticket to we help you figure out whats wrong with your **qb-weapons.**
{% endhint %}

## I dont have any weapon draw animation!

Please add this file inside your **qb-smallresources > client** folder:

{% file src="/files/DndpET8s48xNmw5cKMb7" %}

## I need to press 2 / 3  times on fast slot bind to pick an weapon

This problem is **SUPER RARE**, but good news, we got you covered:

1 - Find your **qb-weapons > client.lua > weapondraw\.lua**, please **delete** that file (**BACKUP IT**)

2 - Now you just need to add this file inside your **qb-smallresources > client** folder:

{% file src="/files/DndpET8s48xNmw5cKMb7" %}
