has possibility I put new spells on my server 10.41?
and
in the script:
how to put not teleport to position, just create a teleport to a position?
thanks
and
in the script:
Code:
local config = {
itemid = 2319,
many = 1,
pos = {x=613, y=414, z=13},
tepos = {x=616, y=417, z=13}
}
function onUse(cid, item, frompos, item2, topos)
if getTileItemById(config.pos, config.itemid) and doRemoveItem(getTileItemById(config.pos, config.itemid).uid, config.many) then
doTeleportThing(cid, config.tepos)
else
doPlayerSendTextMessage(cid, 20, "xxxxxxxo")
end
return true
end
thanks