Sais carrying too much weight but my inventory is not full

i am using the esx_vehicle_inventory mod, when i put stuff in the trunk it works fine, but whenever i try to get it out i can only get 1 item out and than it sais i carry too much weight but mij inventory is far from full? i already changed this line of code and used weight instead of limit

if tonumber(PlayerData.inventory[i].weight) < tonumber(PlayerData.inventory[i].count) + quantity and PlayerData.inventory[i].weight ~= -1 then

nevermind, replacing the ~= with == fixed it

Please be careful where you post next time. Moved to #server-development:essentialmode

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.