hello i need help with this script its not working.
<movevent type="StepIn" itemid="407" event="script" value="Bansheequest\stonecreat.lua"/>
it should add mossy stone when walking on that tile but its not working and no errors anyone that could help me?
Code:
function onStepIn(cid, item, pos)
gatepos = {x=32176, y=31868, z=15, stackpos=1}
getgate = getThingfromPos(gatepos)
if item.uid == 1199 then
doCreateItem(1353,1,gatepos)
end
return 1
end
<movevent type="StepIn" itemid="407" event="script" value="Bansheequest\stonecreat.lua"/>
it should add mossy stone when walking on that tile but its not working and no errors anyone that could help me?