• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Fibula, way down the well

atyll

Member
Joined
Dec 30, 2008
Messages
380
Reaction score
16
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?

1z3coes.jpg



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:
Back
Top