• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. M

    Lua Monster disappear after a minute

    @Xikini Sure, its this one: function onKill(cid, target) local monsters = { ["Orc"] = {chance = 5, next = "Orc2", msg = {"Test"}} } function doRemoveCorpse(pos, creature) for i = 0, 255 do pos.stackpos = i tile =...
  2. M

    Lua Monster disappear after a minute

    @4Nathu4 It didn't work
  3. M

    Lua Monster disappear after a minute

    @4Nathu4 Ok, so I have a script here that, when the monster dies, it summons another one. If the player kills the monster and then the script summon another, the player can bring this monster anywhere, since it will not disappear. function onKill(cid, target) local monsters = {...
  4. M

    Lua Monster disappear after a minute

    @mrianuraa Oh, i don't know about monsterID, but can you give me an example?
  5. M

    Lua Monster disappear after a minute

    Yes, i tried to use something like this: addEvent(doRemoveCreature, 6 * 1000, getCreatureByName("Orc")) But i don't think my server recognizes getCreatureByName. Can you give me an example?
  6. M

    Lua Monster disappear after a minute

    0.4 Hello guys and good morning. I was trying to do some simple scripts, but one of them i can't solve. I want a script that, when the monster get created by doSummonCreature, it will disappear after a minute. I was trying to do by creaturescript and then use this in the monster.xml...
  7. M

    TFS 0.X Monster heals another monster

    Lol Thank you
  8. M

    TFS 0.X Monster heals another monster

    Hello again. Today I'm trying to do some monster' spells and I'm stuck in this one. Its simple. One monster will heal another monster (in range) if the name is in the script. The problem is, i copied a script that i use to heal summons, and can't find another way to replace this function " for...
  9. M

    Lua Look sees MONSTER'S health

    @Xikini Simple as that. Thank you.
  10. M

    Lua Look sees MONSTER'S health

    Good evening everyone. I really want a script where when a player looks at a monster, it will show its current life and total, something like this: You see a Dragon. Health [850/1000] I already have a script that shows other player's health, and it goes like this, you can use this as a...
  11. M

    TFS 0.X Training dummy DPS

    @mRefaat How did you do the step 3 and 4? Maybe some error happened there?
  12. M

    Increasing skull and shield flag icons

    tfs 0.4 8.6 Hello guys, Im here trying to understand what do I have do (Sources, maybe?) to add new types of skull and shield flags for monsters and npc. My Otclient already have some new ones from global, such as orange skull, but, inside the game, it does not recognize it. What do I have to do?
  13. M

    Trying to identify a party member

    @Xikini , worked perfectly, thank you very much. Do you think this script will cause lag on the server? Not alot of players will have this storage tho
  14. M

    Trying to identify a party member

    @Xikini Sure, I want this way: There is a Party group, if someone in the party has the storage x, the script start to work. If a random player in the party get hurt, the script will heal him, using this: doCreatureAddHealth(partyMembers, math.random(min, max)). As it is now, if a player takes...
  15. M

    Trying to identify a party member

    @Xikini Worked perfectly. thank you very much. One more thing, maybe I am asking to much, but there is a way that only the player who got damaged activates the script just for him, and not for the entire party?
  16. M

    Trying to identify a party member

    @Xikini Thx for the answer. It's kinda worked, but I need this storage check (if getCreatureStorage(cid, 1111111) >= 1 then), and if i put it, it does not work, only if the player who has the storage takes a hit. I want if the player who has the storage is in a party, the script works for all...
  17. M

    Trying to identify a party member

    Hello guys, Im having trouble trying to identify a party member in this script: function onStatsChange(cid, attacker, type, combat, value) if getCreatureStorage(cid, 1111111) >= 1 then if isInParty(cid) == true then for _, party in ipairs(getPartyMembers(cid)) do if type ==...
  18. M

    Dor that closes after 5 sec

    @Sarah Wesker I think this is beyond my script's ability, but i will try here 1619287262 @Snavy , @Levi999x and @Sarah Wesker Thank you guys for the help (that was fast tho) Again, thank you all 1619288180 @Snavy Sorry but i found a bug: If the player tries to close the door when it opens, an...
  19. M

    Dor that closes after 5 sec

    @Snavy @Levi999x Thx for the help, but both scripts gets me the same error: (luaDoTransformItem) Item not found
  20. M

    Dor that closes after 5 sec

    Hello guys, im having some problem doing this on my own, so here i am asking for help I want a script that, when the player opens a door (with actionid), after 5 seconds, the door closes. Simple as that I was trying to do this, but I keep getting this error: (luaDoTransformItem) Item not found...
Back
Top