samuelav3
Member
- Joined
- Aug 18, 2014
- Messages
- 95
- Reaction score
- 5
I need help creating this item
my problem is that the item be created only 1 item disappears and not 2 as it should
only sisappears 5467 and no 5467 and 2694
my problem is that the item be created only 1 item disappears and not 2 as it should
Code:
-- create sugar oat --
function onUse(cid, item, fromPosition, itemEx, toPosition)
if itemEx.itemid == 2694 then
doRemoveItem(item.uid, 1)
doPlayerAddItem(cid, 13939,1)
player:removeItem(5467, 1)
end
return true
end
only sisappears 5467 and no 5467 and 2694
Last edited: