So I’ve worked on disc’s disc-inventoryhud c# version(https://github.com/DiscworldZA/disc-inventoryhud) since he released it. And this is how far I’ve come. This is for a norwegian server, so everything is in norwegian
Features I’ve implemented:
Instead of having the actions with the right click give etc, i’ve used the pattern to have the middle box
You can give money from the inventory
Search
Quick move with alt + click
Split a stack by holding ctrl and dragging an item
Weapon attachment, by adding the attachment as metadata to the weapon, and you’re able to unload a weapon by rightclicking it
Store, (Can take esx money and custom money item(we use it from black money).
Weapon durabillity, each weapon will lose durability when used, once reached 0, it can’t be equipped
Trap house, with inventory implementation. When adding drugs to one slots, it will over time, generate black money.
and a buch of different utility methods to make it easy to integrate it with other scipts
Max slot for each item
Weight system, scaled for eash stash house we have available on our sever
Inventory with custom driver license
Normal hovering over weapon, we use serial number on weapons, and use it to connect to evidence script we have.
Store, here you’re able to shop mulitple items by increasing the count input.
Trap house:
Please use inspiration, it is fun to continue developing this resource, it got tons of good stuff into it!
Very nice. How did you get weapon/item durability to work? Extra script or did you code it yourself?
How did you get the ID/License to be useable items also?
Durabillity: I’ve coded it myself.
License: It’s not a usable item, it’s just an item with metadata, and I’ve created a custom NUI to display the metadata for the license.
I installed, I managed to open the inventory all right, but I couldn’t register the item to be usable, I took a look at the table disc_inventory_data, added the items there, put the URL of the image. but the item when I give the command / give, does not appear in the inventory, and another question is where the stores are to be able to add, because I did not find it in the code
What you see here, is not what disc has made in his. I’ve continually worked on his resource and completed it. But I haven’t released it. So I cannot give support for his version, as I’ve modified mine…