Items
function functions.HasItem(item, amount)
local hasItemWithAmounts = exports['qb-inventory']:HasItem(item, amount)
return hasItemWithAmounts -- Should Return true or false
end
function functions.HasItemsTable(data)
local hasItemsWithAmounts = exports['qb-inventory']:HasItem(data)
return hasItemsWithAmounts -- Should Return true or false
endif HapticLib.HasItem("water_bottle", 1) == false then
print("Does not have a water bottle")
endLast updated