Acrenactive
★Designer★
Hello Guys!
i use 0.4 tfs and is 8.6
I have now solved my old problem with this script but I now have a new problem, why it would not teleporting players to the position. that it say in script a position there should tp the players to.
can someone help me with this why this dont work?
Pay before job 5 euro and after 5 euro paypal.
i use 0.4 tfs and is 8.6
I have now solved my old problem with this script but I now have a new problem, why it would not teleporting players to the position. that it say in script a position there should tp the players to.
can someone help me with this why this dont work?
Pay before job 5 euro and after 5 euro paypal.
local createpos = {x=705,y=1246,z=5}
local topos = {x=748,y=1296,z=7}
local msg = "Eleminator Boss TP has now closed! It will open again in 1 Hours!"
local timetoclose = 60 -- in second
local function remove()
local tp = getTileItemById(createpos,1387).uid
if tp ~= 0 then
doRemoveItem(tp)
doBroadcastMessage(msg)
end
end
function onThink(interval)
local tp = doCreateItem(1387, 1, createpos)
doItemSetAttribute(tp, "aid", 37720)
doBroadcastMessage("Eleminator Boss TP is now open!\nCatch the teleport within "..timetoclose.." seconds quickly! Located in Underground Depo.")
addEvent(remove,timetoclose*1000)
return true
end