Felipe Monteiro
Webmaster
I have one horestis actions, that i broke jar, and horestis is spawned..
I need this account only work again 1 hour after be used..
I need this account only work again 1 hour after be used..
Code:
<!--Horestis Jar-->
<action itemid="13500" script="other/horestis.lua" />
function onUse(cid, item, fromPosition, itemEx, toPosition)
local function createjar(item, pos)
doTransformItem(getTileItemById({x= 32931, y= 32762, z= 12}, 13495).uid,13500)
end
if item.itemid == 13500 then
doTransformItem(item.uid, item.itemid - 5)
doCreatureSay(cid, "Horestis has spawned!", TALKTYPE_ORANGE_1)
doSummonCreature("horestis", {x= 32943, y= 32767, z= 12})
addEvent(createjar, 60*1000, cid)
end
return TRUE
end