Esx_inventoryhud - Weight System

Hello! How could I add a weight system to this resource: esx_inventoryhud?

Thanks a lot! <3

You should replace function maxitem to cancarry like this :slight_smile:
if xPlayer.canCarryItem(itemName, amount) then
xPlayer.addInventoryItem(itemName, amount)
else
xPlayer.showNotification(_U(‘max_item’))
end
end)

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