• 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!

Teleporting wall

iksior

New Member
Joined
Jan 25, 2009
Messages
33
Reaction score
0
Hello today i want make wall that is teleporting player to pos 101,102,7 when i click on it. But i dunno how, Please help me.
 
Code:
<action uniqueid="20093" event="script"><![CDATA[ 
	function onUse(cid, item, fromPosition, itemEx, toPosition)
doTeleportThing(cid, {x = 502,y = 404,z = 2})
			doSendMagicEffect(toPosition, CONST_ME_POFF)
		return true
	end
	]]></action>
set the wall to uid 20093 in ur map editor. add this to a mod file. or if ur smart u can easily make it an lua to use in the actions folder
 
Last edited:
failhahhaha little error
soul4soul said:
<action uniquid="20093" event="script"><![CDATA[
function onUse(cid, item, fromPosition, itemEx, toPosition)
doTeleportThing(cid, {x = 502,y = 404,z = 2})
doSendMagicEffect(toPosition, CONST_ME_POFF)
return true
end
]]></action>
 
Back
Top