Simonp1512
DBhispano
- Joined
- Feb 22, 2009
- Messages
- 62
- Reaction score
- 3
hi people, i have a problem with "doPlayerRemoveItem" when the item is in the backpack is remove perfect but when the item is on the ground the item no remove, the layer can use it but no remove
the scrip
thx for the help
the scrip
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local kame = {lookType = 360}
local item = 10306
doPlayerSetVocation(cid,286)
doCreatureChangeOutfit(cid, kame)
doPlayerRemoveItem(cid, 10306, 1)
doRemoveCreature(cid)
return true
end
thx for the help