Hello
What should I do, so that when player clicks on the well, he'll be bringed down, just like by using a sewer gate?
Shall I set the well to a specific action ID, which will teleport down the player?
How can I achieve that?
Done it, code used:
What should I do, so that when player clicks on the well, he'll be bringed down, just like by using a sewer gate?
Shall I set the well to a specific action ID, which will teleport down the player?
How can I achieve that?
Done it, code used:
Lua:
function onUse(cid, item, frompos, item2, topos)
npos = {x=frompos.x, y=frompos.y, z=frompos.z}
if item.uid == 3446 and item.itemid == 1369 then
npos.z = npos.z + 1
doTeleportThing(cid, npos)
end
return 1
end
Last edited: