LucasFerraz
Systems Analyst
I made this script myself and it's working but if player step in he will receive an effect.
How can I remove this effect?
How can I remove this effect?
LUA:
function onAddItem(moveitem, tileitem, pos)
tree1pos = {x=32999, y=32272, z=10, stackpos=1}
tree1 = getThingfromPos(tree1pos)
if moveitem.itemid == 2016 and tree1.itemid == 1355 then
doRemoveItem(tree1.uid,1)
doCreateItem(1387,1,tree1pos)
end
return 1
end