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

[request]Sea turtle script

christiandb

Member
Joined
Feb 5, 2008
Messages
2,469
Reaction score
5
Location
010
Since I've never used it on Real Tibia, I don't know how to make it so I'd be nice if someone either posts the script or explains me how it work!

Thanks in advance,

Chris~
 
This should do, change the newpos's around the code to where the player should arrive, unique id 20001-20003 to use them.
PHP:
function onStepIn(cid, item, pos)
     if item.uid == 20001 then
          local newpos = {x = 100, y = 100, z = 7}
          doTeleportThing(cid, newpos)
     elseif item.uid == 20002 then
          local newpos = {x = 110, y = 110, z = 7}
          doTeleportThing(cid, newpos)
     elseif item.uid == 20003 then
          local newpos = {x = 120, y = 120, z = 7}
          doTeleportThing(cid, newpos)
     end
end
 
Back
Top