Update functions.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-10-01 09:06:03 -07:00
1 parent 88bf966b91
commit 4938821793
1 file changed
-1
-1
View File
@@ -105,7 +105,6 @@ function Itemcheck(source, item, amount)
local item = ox_inventory:GetItem(source, item, nil, false) local item = ox_inventory:GetItem(source, item, nil, false)
if item.count >= amount then if item.count >= amount then
return true return true
end
else else
Notifys(source, 'You Need ' .. amount .. ' Of ' .. GetLabels(item) .. ' To Do This', 'error') Notifys(source, 'You Need ' .. amount .. ' Of ' .. GetLabels(item) .. ' To Do This', 'error')
return false return false