qbcore-framework / qb-smallresources

A compilation of small resources combined into one
GNU General Public License v3.0
51 stars 346 forks source link

[BUG] Weapon DRAW doesnt work [qb-inventory / jpr-inventario] #393

Closed allChuu closed 10 months ago

allChuu commented 1 year ago

Describe the bug I change qb-inventory for jpr-inventario wich pratically use the same events has qb-inventory.

To Reproduce Steps to reproduce the behavior: Just with - qb-inventory weapon draw works finr with - jpr-inventory it doesnt, the weapon just appear in the hand their is no error.

Expected behavior Expect that if you use a weapon it draw it, and if it draw it their should be an animation.

Screenshots NONE.

Questions (please complete the following information):

Additional context I find it weird and not understandable why the weapon draw that is an "external" resources work only with qb-inventory knowing that events regarding the use of item is in qbcore and not especially in inventory.

virtuseee commented 11 months ago

Im having the same issue did u find a fix?

virtuseee commented 11 months ago

never mind found the fix by going the weapondraw.lua and changing the bits of codes where it said 'qb-inventory' to my inventory for example 'lj-inventory'