destroyer667
Member
- Joined
- Nov 21, 2007
- Messages
- 290
- Reaction score
- 6
I stepped on the tile and it removed the wall and then it doesn't put the wall back.
Using Avesta 7.6 v4
Cykotitan this is your script i got from here.
http://otland.net/f16/movement-script-error-stepin-stepout-116316/#post1147393
++rep anyone
Using Avesta 7.6 v4
LUA:
function onStepIn(cid, item, pos, fromPos)
if isPlayer(cid) then
doRemoveItem(getTileItemById({x=32850, y=32289, z=12}, 1497).uid)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have removed the wall.')
doTransformItem(item.uid, 425)
end
end
function onStepOut(cid, item, pos, fromPos)
if isPlayer(cid) then
doCreateItem(1497, 1, {x=32850, y=32289, z=12})
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Wall is back.')
doTransformItem(item.uid, 426)
end
end
Cykotitan this is your script i got from here.
http://otland.net/f16/movement-script-error-stepin-stepout-116316/#post1147393
++rep anyone
Last edited: