I’ve tried using the ESX v1 final in the past but didn’t really like the weight system very much.
I didn’t like that you couldn’t set a max limit for a certain item. For example, I’d like to limit food items to 10 max, but don’t think I should have to change the weight for the food items in the DB to be some ridiculous number – which in turn would limit the amount of other items I can carry.
Am I missing something? Is there a way to have weight, but also limit items?
How does everyone have their weight system setup? Like what’s a good max inventory weight and how do you set your items weight in your DB?
I know how to modify the max weight. What I am wondering more about is the ‘system’ people use to implement a weight based inventory.
Do people up the max weight to 500, 1000, 10000? Is there a good rule of thumb for how to determine how much an item should weigh? Is there a way to limit an item, like a phone, to just 1 item max?
If I put my maxweight to 500, I dont want people to be able to buy 500 phones, if the weight = 1. I stilll want just 1 phone, no matter the weight.
As far as I know, that’s why you can’t do it any other way.
You have to define in the database in the table “Items” how much you can transport what. Then you need to change the “Weight, Limit” for each item.
It also depends on what inventory hud you use.
Of course you can alter the framework to limit certain items. That’s no more than an if statement being added to the check when purchasing/picking something up.