-- You need to add the item to your data base into the 'items' table -- afterwards you can register it as a usable item serverside ESX.RegisterUseableItem('itemID', function(source) -- replace itemID with the id of your item local xPlayer = ESX.GetPlayerFromId(source) xPlayer.removeInventoryItem('itemID', 1) -- this will remove the item after the use -- execute some code end)