Hi i have 2 scripts
i need exhaust and effect on character can you help me ?
tibia 8.54
i need exhaust and effect on character can you help me ?
tibia 8.54
60minut exhaust+ effect 32:
Lua:
local scroll = 11585
local temple = {x=1022, y=1023, z=7}
local level = 200
function onUse(cid, item, frompos, item2, topos)
if getPlayerSkill(cid,0) >= 70 then
if item.itemid == scroll and getPlayerLevel(cid) >= level then
doTeleportThing(cid, temple, TRUE)
doSendMagicEffect(temple,10)
doSendAnimatedText(temple, "Temple!", 12)
return 0
end
else
doPlayerSendCancel(cid, "Sorry, you need 200lvl and 70 Strength")
end
return 1
end
5 second exhaust+ effect 32:
Lua:
function onUse(cid, item, frompos, item2, topos)
if getPlayerSkill(cid,0) >= 70 then
if item.uid == 11111 then
local tekst = "You are teleported."
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE , tekst)
pos = {x=1655, y=877, z=7}
doTeleportThing(cid, pos)
else
return 0
end
else
doPlayerSendTextMessage(cid, 22, "Your strength is too low! (70)")
end
return 1
end
Last edited: