• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Horestis Boss Help

Felipe Monteiro

Webmaster
Joined
Feb 27, 2009
Messages
460
Reaction score
59
Location
Brasil
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..

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
 
Back
Top