-
Notifications
You must be signed in to change notification settings - Fork 37
Support for weight system #49
base: master
Are you sure you want to change the base?
Conversation
Gonna test this out think you may have helped me out! |
Great, I hope it will help you. Pretty much the same code is required for inventoryhud too, but there were some things that had to be done differently. If you would need it too, I could look into it again. |
So far the regular inventory hud seems to be working unless you would happen to know when you put it on give item it shows nearby players rp name? |
The regular hud works in almost all things fine, some utilities like shops integrations or something like that I knew wasn't working properly because of weight/limit conflicts. I stumbled across it when I was using hotel storage inventoryhud integration with rcore_hotel. |
That is true the inventory hud doesnt work in shops for me I am guessing cause of the limit, so I guess if you have anything for that that would be appreciated! HMU on discord if you want JohnnyS#6946 |
Sure, a friend request sent. |
I wanted to use esx_inventoryhud_trunk for the newer item system. Weight. I made a simple switch function that decides if limit or weight system should be used. This code was tested on a server with +- 30 players so I think it is stable. I hope it is going to serve its purpose. I am still learning, so there are maybe some mistakes in the code, maybe it can be done easier.