qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
49 stars 376 forks source link

Fix weapon dont lost quality and ammo #421

Closed Pbtm999 closed 1 year ago

Pbtm999 commented 1 year ago

Fix weapon dont lost quality and ammo

Fix glitch when you change a item by an weapon on inventory the weapon dont lose quality and ammo.

Branqueador commented 1 year ago

works as intended, thanks very much

i-kulgu commented 1 year ago

works as intended, thanks very much

How did you tested it ? Can you explain so i can test it too ?

i-kulgu commented 1 year ago

@i-kulgu https://streamable.com/bwj7ah this way video is not mine btw

That video has nothing to do with the PR. PR is for : "Fix glitch when you change a item by an weapon on inventory the weapon dont lose quality and ammo."

Branqueador commented 1 year ago

@i-kulgu https://streamable.com/bwj7ah this way video is not mine btw

That video has nothing to do with the PR. PR is for : "Fix glitch when you change a item by an weapon on inventory the weapon dont lose quality and ammo."

My bad sorry! before you could replace an item (without quality) for the weapon like that weapon would not loose quality. now with this PR weapon will be removed from you'r hand when moved to another slot

Edvo1901 commented 1 year ago

What is inventory:sever:UpdateWeapon? There is no such an event