LuaScripter
Scripter -Lua-
- Joined
- Jan 16, 2012
- Messages
- 40
- Reaction score
- 1
I want a wardrobe to teleport me from somewhere to somewhere, how can I do this?
<action actionid="enter number above 1000" event="script" value="directory of the lua"/>
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = {x = 1000, y = 1000, z = 7} -- map co-ordinates, add the position you want them to land on --
doTeleportThing(cid, pos)
return true
end