Ecstacy
Mothafuckaaa
Code:
Hey,
I need some help on this part of my script,
it doesn't see the item, even though its there.
[code=lua]local t = {
wolf = {2826,2829,5897,11228}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local target,v = getThingFromPos(toPosition),getThingPos(cid)
if getTileItemById(target,t.wolf[1]).itemid > 0 then
it always return not true.[/CODE]
it's solved.
Last edited: