• 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!

Search results

  1. S

    Lua Decay AddItem and non player Exhaust

    As easy as that? I've heard rumors exhaust won't work without playerstorage. Fine, I'll give it a go. Thanks.
  2. S

    Lua Decay AddItem and non player Exhaust

    Cool, I'd still need an exhaust for tile action. Rep'd.
  3. S

    Lua Decay AddItem and non player Exhaust

    function onUse(cid, item, fromPosition, itemEx, toPosition) doRemoveItem(item.uid, 1) doPlayerAddItem(cid, 2051, 1) return true end How do I decay item I just added? And also, how could I set an exhaust on step-in action? Like certain tile summons a demon (got the...
  4. S

    Lua Exhaust on certain item?

    I sorted that already, thanks for the interest. I should have said so before. Thanks anyway.
  5. S

    Lua Exhaust on certain item?

    function onUse(cid, item, fromPosition, itemEx, toPosition) local storage = 1000 local time = 120000 if not exhaustion.get(cid, 100) then doRemoveCondition(cid, CONDITION_POISON) doCreatureSay(itemEx.uid, "Gulp.", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) doPlayerGiveItem(cid...
  6. S

    Lua Exhaust on certain item?

    what's the storage for then?
  7. S

    Lua Exhaust on certain item?

    And that will drop automatically?
  8. S

    Lua Exhaust on certain item?

    It's actually an antidote potion, I wan't to prevent it from being used too often. Can player storage value be periodically dropped? I could do that way.
  9. S

    Lua Exhaust on certain item?

    I want to set a cooldown/exhaust on certain item. It's not magic, just an item. How can you do that?
  10. S

    Lua onAddItem

    I've done it with addevents, thanks.
  11. S

    Lua onAddItem

    no other way? :/
  12. S

    Lua onAddItem

    I was also considering adding onThink function redirecting to most scripts, like onTradeAccept, to run another script that will check 0.1 second later if player have such item, i actually dont know whether it's possible to start script no2 from sctipt no1. if possible, please give me a solution...
Back
Top