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

If you Enter Teleport Room etc. A text effect will be pop up.

Elminera

New Member
Joined
Jan 21, 2011
Messages
239
Reaction score
1
I want so, When you enter a Teleport Room/Quest Room etc.

It will says: Welcome to SERVERNAME Teleport room (ORANGE TEXT)

Same with depot,shops,events.. All that ;)
 
Lua:
function onStepIn(cid, item, pos)

local hss = {x=32886, y=32632, z=11} -- Position where player will be teleported to

    if item.actionid == XXXXX then -- Replace XXXX with teleport's action id
		doTeleportThing(cid,hss)
		doCreatureSay(cid, "Welcome to SERVERNAME Teleport room", TALKTYPE_ORANGE_1)
                doSendMagicEffect(getCreaturePosition(cid),20)
		doSendMagicEffect(hss,20)
        end
    return 1
end

movements.xml

Lua:
<movevent type="StepIn" actionid="XXXX" event="script" value="teleport_room.lua"/>
 
Last edited:
Back
Top