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

TFS 0.3.3 Teleport Sqm

Hello!

Look
Code:
function onStepIn(cid, item, position, fromPosition)
	--Here you can place whatever you want to do!
	--Will be executed when player will step on a tile
end

Now go here: http://otland.net/f55/lua-functions-list-14039/

And search for something with 'doTeleport', this function will teleport player to specified position!

You can do it! Just try :)
 
Argh.. you're really lazy.

just place

doTeleportThing(cid, {x = 123, y = 4, z = 7})

after

function onStepIn(cid, item, position, fromPosition)
 
Code:
function onStepIn(cid, item, position, fromPosition)
	doTeleportThing(cid, {x = 123, y = 4, z = 7})
end

Thats all..
 
Isn't it;
PHP:
<movevent type="StepIn" actionid="ACTION_ID" event="script" value="sciptname.lua"/>
 
Back
Top