Common Problems

Please note that most common errors can be caused by a bad installation or a poorly done update, always verify this using the default asset before communicating your problem to us, this will save time.

If you've made it this far, congratulations, you're one of the few customers reading through the documentation and taking an interest in fixing problems that come your way using our resources.

This section is intended for the common problems that some players usually have when using this asset, we ask you to check one by one to find your problem here and save long waits on community tickets. If your problem still persists, do not hesitate to contact us from the Discord community by opening a ticket.

List of common problems

Deploy each section according to your problem, so you will find the solution quickly, each problem has a general and basic solution in its description that will help you solve the case.

I can't consume items from inventory

This error is very common, the solution is in the order of server.cfg, since if you use esx_basicneeds or qb-smallresources, they must be started below [inventory] in your server.cfg, otherwise they will not work.

Remember that if you use these external assets, you must use their latest versions.

Don't forget that in Feature Guides you have an improved way to use items from the native inventory integration, check that section to learn its use.

No such export eventName in resource qs-inventory

This problem is caused by the startup order of server.cfg, remember that as we mentioned in the Installation steps, the order in server.cfg must be perfect since the export detection system is very fragile.

Make correct use of this order that we will mention below:

-- You should not start any assets on top of this
ensure es_extended or qb-core
ensure [inventory]

-- Other scripts or dependencies will be started below
ensure [standalone]
ensure [jobs]
I receive thousands of garments when entering my clothing system

If this is your case, then I do not apply the exports correctly, since the system contains a loop that is interrupted by the corresponding export and starts again once the store closes.

Use the export correctly or contact your clothing store supplier, if the system is free you can ask a developer to do it for you if you don't have the programming skills.

Error attempt to concatenate a nil value (field 'firstname')

If this is your mistake, simply go to your users table and find the value of firstname and lastname, change them to a default value so that it is not NULL.

    MODIFY COLUMN `firstname` varchar(16) DEFAULT 'FirstName',
    MODIFY COLUMN `lastname` varchar(16) DEFAULT 'LastName';
Close inventory after using an item

To close the inventory after using an item, we will go to our items.lua of qs-inventory or qb-core, depending on our framework and we will add the shouldClose parameter.

['pistol_defaultclip'] = {
    ['name'] = 'pistol_defaultclip',
    ['label'] = 'Pistol Clip',
    ['weight'] = 1000,
    ['type'] = 'item',
    ['image'] = 'pistol_extendedclip.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true, -- example
    ['combinable'] = nil,
    ['description'] = 'Pistol Default Clip'
The weapon draw animation does not work

The solution to this is to update both qs-weapondraw and qs-inventory to the latest version completely, since the problem is that you are missing internal inventory events.

qb-weapons does not start, stops or does not work

Quasar Inventory already has qb-weapons integrated in config/weapons.lua but much better, therefore you will not be able to start it twice.

No such export exportName in resource qs-inventory

This is because I don't respect the startup order of server.cfg, nothing should go above qs-inventory except the framwork, an example here:

-- You should not start any assets on top of this
ensure es_extended or qb-core
ensure [inventory]

-- Other scripts or dependencies will be started below
ensure [standalone]
ensure [jobs]
Can I duplicate items while using the progress bar?

In this case, unfortunately there is no other solution than to use our dependency that is in Installation, called progressbar. Since this system is created by us and we add events to avoid the opening of the inventory while the progressbar is running.

I cannot apply bullets or accessories to my weapon

If you run the inventory completely by default, this problem will not occur, therefore what happens to you is a modification or a break in your items or weapons. We recommend that you always use the default items and weapons and only add more, never replace or delete if you are not a programmer with advanced knowledge.

Why is the URL tint not visible to other players?

URL tints, as mentioned below, are not visible between players unlike all other attachments and inks. We invite you to read the entire guide in Features Guide, where you will find everything about this system.

Spam when reloading weapons

This problem is due to the lack of progressbar dependency, use the progressbar that is in the documentation and dependencies.

Another possibility that occurs on some servers is that you have disabled the use of progressbar in config/weapons.lua, do not disable this option if your case is as follows.

Problems during animation or freezing of the ped

The problem here usually occurs because you already have another script that runs a RegisterUsableItem or CreateUsableItem on the same item, it can't do that, choose only one method of using the item.

Can I use the weapon wheel in qs-inventory?

No, this is not possible due to the advanced weapon and item metadata system we use. GTA V does not support metadata, therefore its weapon wheel is not compatible either.

How do I edit the damage of weapons and their recoil?

This is not something that should be edited from the inventory, since they are native to GTA V, if you want to edit these parameters you can do so from external assets that you can find both on GitHub and on the forum.

I can open trunks even though I have blocked this in config/vehicles.lua

This is because this setting blocks owned vehicles, if the car is not registered in your owned_vehicles or player_vehicles, then they will be able to open them since they do not have a registered owner.

Can I enable the sixth slot like in qb-inventory?

Yes, you can do it from config.lua using the Config.BlockedSlot configuration.

I want to add a CLOSE button within the inventory

This is simple, you can simply go to html/ui.html and edit near line 120, just below this code:

<div class="inv-option-item" id="item-switch">

We will simply add this and the button will be ready.

<div class="inv-option-item" id="inv-close">
    $(document).on("click", "#inv-close", function (e) {
    #inv-close {
        background-color: rgba(255, 0, 0, 0.199) !important;
Problems in theft system or edit theft system

Of course you can edit the system, since this part is completely open code and is located in inventory/client/custom/misc/robbery.lua.

Addon weapons do not animate in qs-weapondraw

This is because you must add the weapons in the dlc's config.lua.

Last updated