Hi, im new to Lua, and I wonder, if you can make a new tile when you step on a allready existing tile, and remove it and restore the normal tile when you step out?
I was thinking
But I dont know how to return the item that was there from the start.
And then, I would like to know how you make it repeat this all the time, make the item when you step in, and remove when you step out, untill you want it to stop.
Help would be really good.
Using TFS 0.3.6pl1
I was thinking
Code:
doPlayerAddItem(uid, 406)
doPlayerRemoveItem(cid, 406)
But I dont know how to return the item that was there from the start.
And then, I would like to know how you make it repeat this all the time, make the item when you step in, and remove when you step out, untill you want it to stop.
Help would be really good.
Using TFS 0.3.6pl1