[FIX] disc-inventoryhud duping

Hello, this is a quick fix that prevents duping items for resource disc-inventoryhud.

I would present a fork to the official git of the resource but the author no longer supports it and the last update was in 2019. :man_shrugging:

Inside the inventory.js file go to line 259 (unedited, you are looking for a if (itemData !== undefined) loop)

Add this code on line 259:

$(origDrag).css('pointer-events', 'none');

That’s it.
You have prevented players from duping items from the ground/containers/glovebox/etc.

just a question please, if disc inventory compatible with esx 1.1?
Thanks for you guide also.

Hey, it should be compatible.

Hey are you having a big fix for this invotenry i cant just dump in my server ? i bought it on a website whitout know this thing was buggy …!!! Thanks

Since you bought something that’s free, it’s probably edited to oblivion.

You can try using the original, free resource or finding a working fork of it if you are having too many issues with the one you got with your purchase.

What dupe does this actually fix and what made items dupe?

It was something related to dragging items and then trying to click them again.