I recently installed a different inventory system and was wondering if the defualt inventory system handled using items.
RegisterCommand('useItem', function(source, args)
local itemName = args[1]
if not itemName then return end
exports['qb-inventory']:Useitem(itemName, function()
print('Used item with the name of '..itemName)
end)
end, true)
The new script has nothing to do with using items, is there nay way I can implement this?
I have already tried checking configs