Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Hello. Im having trouble making a item that teleports you to somewhere else so when you click on the item you get teleported can anyone please help.
im using itemid: 7824
and using Aries 0.4.5 XML
can anyone help thanks.
-- A script made by Clary 100%
local newpos = {x=1000, y=1000, z=7}
function onUse(cid, item, fromPos, item2, toPos)
if item.actionid == 20009 then
doTeleportThing(cid, newpos)
doSendMagicEffect(newpos, 55)
end
just change the pos and add a line to actions.xml :/
with the actionid 20009
and while mapping make any item with actionid 20009
then use it in-game :/
got a error:
cannot open data/actions/scripts/tpitem.lua: no such file or dictionary
Warning: Event::loadscript can not load script. data/actions/scripts/tpitem.lua
data/actions/scripts/tpitem/lua:7: 'end' expected <to close 'function' at line 2>
near '<eof>'
-- A script made by Clary 100%
local newpos = {x=1000, y=1000, z=7}
function onUse(cid, item, fromPos, item2, toPos)
if item.actionid == 20009 then
doTeleportThing(cid, newpos)
doSendMagicEffect(newpos, 55)
end
end