Invalid item name

if i use /giveitem command i have this :
[WARNING] Invalid item name

but i have that item row in items table in my database
and this is my registerCmd code in basicneeds :

ESX.RegisterUsableItem('drink', function(source)
	local xPlayer = ESX.GetPlayerFromId(source)
	xPlayer.removeInventoryItem('drink', 1)

	TriggerClientEvent('esx_status:add', source, 'thirst', 1000000)
	TriggerClientEvent('esx_basicneeds:onDrink', source)
	xPlayer.showNotification('WORKED')
end)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.