TaemuruTempest / monster_vault

Vault Script By Monster TaerAttO Please credit me. This Script for ESX Framework
GNU General Public License v3.0
9 stars 27 forks source link

Error removing items #4

Open stickybombz opened 4 years ago

stickybombz commented 4 years ago

I am having this error appear when I try to remove items from the vault vault remove error Can anyone please assist

hoaaiww commented 3 years ago

Hi! Just replace this if not xPlayer.canCarryItem(item, count) then instead of this: if sourceItem.limit ~= -1 and (sourceItem.count + count) > sourceItem.limit then