Update functions.lua
This commit is contained in:
1 parent
018bc15419
commit
ca494fc88d
1 file changed
+1
-1
@@ -103,7 +103,7 @@ function Itemcheck(source, item, amount)
|
|||||||
end
|
end
|
||||||
elseif inventory == 'ox' then
|
elseif inventory == 'ox' then
|
||||||
local has = exports.ox_inventory:GetItem(source, item , nil, true)
|
local has = exports.ox_inventory:GetItem(source, item , nil, true)
|
||||||
if has.count >= amount then
|
if has >= amount then
|
||||||
return true
|
return true
|
||||||
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')
|
||||||
|
|||||||
Reference in new issue
Block a user