#Qb-inventory Issue

1 messages · Page 1 of 1 (latest)

leaden raven
#

I have installed a couple different qb-inventory scripts and I have found one that I like which is: https://github.com/ItzMuri/qb-inventory

However, when I open the inventory, only the primary inventory shows and not the secondary one (to drop)

Anyone know what could be causing this? It shows only after I drag an item to the side, but in the github the inventory has both inventories showing regardless of an item being dropped or not.

Any help would be appreciated thanks.

GitHub

Slot Based Inventory System Used With QB-Core :school_satchel: - ItzMuri/qb-inventory

sour shard
#

It’s a month old so I’m assuming it’s an edit of the current rewritten inventory for qb, so same behavior by right clicking the item to drop…

leaden raven
sour shard
#

For the single view?

leaden raven
#

I’m just surprised that it’s only the primary inventory and doen’t show the second one

twilit oak
woven tree
#

This is also the case for the default qb-inventory. Why should we see a second not existing inventory?
To show 'other' inventory, probably be challanging, but what I would do -

  1. Change in FE if condition for 'other' inventory display (just remove if)
  2. At API, check if drop exist, otherwise create drop
    Or you can handle it just from FE, if there is no drop inventory, trigger drop API
twilit oak
woven tree
twilit oak
#

omg. I think I am not advanced enough to understand this.

#

But I am already back to my old inventory...

leaden raven
leaden raven
woven tree
#

For my own inventory, I made a single slot inventory for drops

woven tree
leaden raven