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.
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
script: tgiann-inventory LocalPlayer.state.items is null, make sure your onesync setting is active and the script is properly installed. Please check docs
The common reasons for this error are:
Because you haven’t completed the installation:
Because your Onesync setting is not enabled:
To check, type 'onesync' in the server console and see if it’s active.
Because you don’t have a Patreon key worth at least $15:
Set your server's maximum player limit to less than 7. When the player count is below 7, you can use all of FiveM's paid versions. If it works when set to less than 7, you’ll need a Patreon key for FiveM.
Last updated