--[[ Script By Vodkart and Kydrai ]]-- local tps = { ["Annihilon"] = {pos = {x=1193, y=629, z=10}, toPos = {x=1325, y=699, z=10}, time = 10} } local function removeTp(tp) local t = getTileItemById(tp.pos, 1387).uid return t > 0 and doRemoveItem(t) and doSendMagicEffect(tp.pos, CONST_ME_POFF) end function onDeath(cid) local tp = tps[getCreatureName(cid)] if tp then doCreateTeleport(1387, tp.toPos, tp.pos) doCreatureSay(cid, "The Hellgorak portal will close at "..tp.time.." seconds. Enterin portal to complete the Inquisition Quest, and pick your reward.", TALKTYPE_ORANGE_1) addEvent(removeTp, tp.time*1000, tp) end return true end
aeww \o/ agora foi, valeu aew vod
podem fechar o tópico!


info
Grupo: Herói
Registrado: 20/05/10
Posts: 3.4k
Reputação: +1.5k
Gênero: Masculino
--[[ Script By Vodkart and Kydrai ]]-- local tps = { ["Annihilon"] = {pos = {x=1193, y=629, z=10}, toPos = {x=1325, y=699, z=10}, time = 10} } local function removeTp(tp) local t = getTileItemById(tp.pos, 1387).uid return t > 0 and doRemoveItem(t) and doSendMagicEffect(tp.pos, CONST_ME_POFF) end function onDeath(cid) local tp = tps[getCreatureName(cid)] if tp then doCreateTeleport(1387, tp.toPos, tp.pos) doCreatureSay(cid, "The Hellgorak portal will close at "..tp.time.." seconds. Enterin portal to complete the Inquisition Quest, and pick your reward.", TALKTYPE_ORANGE_1) addEvent(removeTp, tp.time*1000, tp) end return true end