• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Teleport By Clicking on Tile

tetra20

DD
Joined
Jan 17, 2009
Messages
1,315
Solutions
4
Reaction score
323
Location
Egypt
I Am New To Scripting and made a new script ^_^

it is easy--simple you can configure it

when you click on a item you get teleported​
Code:
function onUse(cid, item, frompos, item2, topos)

		if doTeleportThing(cid, {x=1000, y=999, z=7}) then
		doPlayerSendTextMessage(cid,24,"Teleported")
		doSendMagicEffect(getPlayerPosition(cid), 23)
		end
	end
Code:
<action itemid="1484" script="fly.lua"/>

Tested on 0.3.6V8.2 working Great
 
Back
Top