DedicatedOT
New Member
Hey
this is what i used:
How come after being teleported I cannot move? And if i say /t, it crashes...
this is what i used:
Code:
local quest = {x=183,y=303,z=12}
function onStepIn(cid, item, position, fromPosition)
if item.actionid > 30020 and item.actionid < 30100 then
doPlayerSetTown(cid, item.actionid - 30020)
end
if item.actionid == 15002 then
if getPlayerLevel (cid) >= 210 then
doTeleportThing (cid, quest, TRUE)
doPlayerSendTextMessage(cid, TALKTYPE_BROADCAST, "Get ready!")
else
doTeleportThing (cid, temple, TRUE)
doSendMagicEffect(getCreaturePos(cid), 10)
doCreatureSay ( cid, "You are not level 210. Come back later.", TALKTYPE_ORANGE_1 )
end
end
return TRUE
end
How come after being teleported I cannot move? And if i say /t, it crashes...