luq14
Cookie Cotton Joe's
Hello. This is my script:
I want to set DoDecayItem for created item 3311 but I don't know how. Please help me
Thanks,
Luq
function onStepIn(cid, item, pos)
pozycja = getPlayerPosition(cid)
pozycja1 = {x = pozycja.x, y = pozycja.y, z = pozycja.z+1}
if item.actionid == 25318 then
doCreateItem(3311, pozycja)
doTeleportThing(cid, pozycja1)
else
return 0
end
return 1
end
I want to set DoDecayItem for created item 3311 but I don't know how. Please help me
Thanks,
Luq