Code:
function onStepIn(cid, item, pos)
local stonePos = {x=257, y=388, z=9, stackpos=1}
local getstone = getThingfromPos(stonePos)
if item.uid == 9039 then
if isMonster == TRUE then
doRemoveItem(cid, getStone, 1)
function onStepOut(cid, item, pos)
if item.uid == 9039 then
doCreateItem(1304, 1, stonePos)
end
end
end
end
end
As the title says I want help with a script wich didnt work.. ;(
When a monster step on x position a rock will move, when he stepout a the rock will come back..
(Idk if this is neccesary but..)
Monster: Mummy
Stone ID: 1304
Positions: Doesnt matter, I can fix em'
Sincerely,
Furstwin.