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. .
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.
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:
Your clothes_images script might not be starting. You may have accidentally deleted important files like the fxmanifest.
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.
The armor clothing disappears or is not visible
This issue is usually caused by another script modifying the weight limit. It commonly occurs in ESX. Search for the function across all your scripts.
This is due to the inventory's realistic armor feature. Please check the file for more details.