• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Movements - Tile

adamox223

New Member
Joined
Oct 21, 2017
Messages
100
Reaction score
4
Hello, i need script movements: We can enter on tile id: 2034, but you can't exit from this tile: 2034, can you help me with it?

tfs 0.3.6, thanks!
 
LUA:
function onStepOut(cid, item, position, fromPosition)
    return doTeleportThing(cid, fromPosition, true)
end

XML:
<movevent type="StepOut" itemid="2034" event="script" value="the script.lua"/>
 
It works, but have errors and crashes
25s91yf.png
 
Hm i used this script for spell for square area, and when i used spell then for 5 seconds appear tiles id 2034, and i can enter but dont exit, and it work, but is this error, and i dont understand it because i'am newbie ;p
 
Back
Top