Common Problems

List of common problems

I can't use consume items

Consumables are related to the esx_basicneeds or qb-smallresources script. If the consumable item you are using is not included in these scripts, you won't be able to use the item. Additionally, you can set an item as a consumable in the items.lua file. Click here for more information.

Images of the items are not showing up

Item İmages(Click me)

OpenInventory Export Error

You should check the line in the script that is causing the error and adjust the export to make it compatible with my inventory.

Server

Items are not showing when using the /items command.

This issue is usually experienced by QB users. You can fix this by adjusting the isAdmin function in the server/editable file.

Items are duplicating in the hotbar, and even when removed from my inventory, they are not disappearing from the hotbar.

This is not a bug. The first 5 slots are fast slots. Even if the items are removed from your inventory, they won't be removed from the fast slots. When you pick up the same item again, you can use it directly from the fast slot. This way, you don't have to drag items from your inventory to the hotbar repeatedly.

Special weapons for police are not working.

You need to add weapons that can only be used by police to your items.lua file first, and then adjust the config.weaponPoliceJobs setting in the inventory config file. Normal weapon: weapon_pistol Police weapon: weapon_police_pistol

The player's weight limit is very low or 0.

This issue is usually caused by another script modifying the weight limit. It commonly occurs in ESX. Search for the setMaxWeight function across all your scripts.

Clothing images in the inventory are showing as boxes

Clothing images in the inventory are showing as boxes. There are a few main reasons for this:

  1. You may not have captured the clothing images. Check here: How to take clothes images.

  2. Your clothes_images script might not be starting. You may have accidentally deleted important files like the fxmanifest.

  3. If your machine has a cache/CDN system, your provider may not support a high number of files. (To resolve this, reduce the number of images to 10 and check those images in the game.)

In QBCore, the LoadInventory export in the player.lua file throws an error.

Remove the line where the export is defined, you don't need it.

example code block
The armor clothing disappears or is not visible

This is due to the inventory's realistic armor feature. Please check the configRealisticArmor.lua file for more details.

Last updated