• 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. Z

    Lua [0.4] Item who buff skills

    @potinho What version are you using? For the vocation problem, if you are using tfs 0.4, you can try something like this: if isInArray({4,8}, getPlayerVocation(cid)) then -- Knights Or if isDruid(cid) or isSorcerer(cid) then
  2. Z

    Lua Damage text in monster spell

    @Zapdos Config.lua, showHealthChangeForMonsters == false change it to true
  3. Z

    Lua Exori but healing if hit a monster or player

    0.4 Hello, I was trying to do this by myself, but I couldn't think in a way to make this work I want exactly like the title. Knight uses exori, if the spell hits a monster or a player, the knight get healed, if hits 2 monsters or players, heals 2 times the healing and so on. Thank you Exori's...
  4. Z

    TFS 0.X Making a new playable race

    @zbizu Can you explain to me like I was a really intelligent 10 years old kid? I Didn't get the '%' and '/' part
  5. Z

    TFS 0.X Making a new playable race

    0.4 Good morning guys, I'm trying to do something like this but I don't know where to begin. I want a new race for players to create and play. But where can I make it? I thought it would be easier to make as a new 'gender', like: Male, Female and Elf, for example. Where can i edit it? Source...
  6. Z

    Lua Npc let you choose an item

    0.4 Hello guys, I was trying to do by my own but I don't even have a clue how to do it, and if it is possible In a task, like: kill 50 monsters, the npc will give an reward (exp and item). What I want to know is if there is a way to make the player choose an reward, like this: The npc gives...
  7. Z

    Lua Life regen out of battle

    @Xikini I am sorry, first i didn't test and also add if the player has summon, heals it too, and then a tested and only kinda worked. Now its 100%, thank you
  8. Z

    Lua Life regen out of battle

    @Xikini It worked, kinda When the player log in, and don't have battle, it will regen his life. But, if he enters a battle then gets off of battle, it will not regen. He has to log out and then log in for to work again
  9. Z

    Lua Life regen out of battle

    0.4 Morning guys, I was trying to do this on my own, but got no luck I think its simple, but I fear, the way I was thinking, will cause lag if a lot of players are online. I want the script to this: When the player is out of battle (without the x), he will start to regen health, like 5% each 5...
  10. Z

    Area effect using math?

    @amatria Oh, I understand now, thank you and sorry
  11. Z

    Area effect using math?

    @amatria --by Richi~ -- function onUse(cid, item, frompos, item2, topos) local gems = {13375} local altars = {{33134}} local type = item.type if type == 0 then type = 1 end if isInArray(gems, item.itemid)== TRUE then for aa=1, #gems do if item.itemid == gems[aa] then a=aa end end if...
  12. Z

    Area effect using math?

    @Xikini Why the last one always happens twice? If the last one is 2 sec delay, the 'chain effect' will happen, and then 2 sec later it will happen the last one again, i.e, 4 seconds later Edit: Actually, not the last one, they all happens twice or 3x addEvent(do_area_effect, idx * 1000...
  13. Z

    Area effect using math?

    I saw the other answer just now, sry Edit: Nice, now i understand. Thank you guys s2
  14. Z

    Area effect using math?

    @amatria , @Xikini , @zbizu Guys, thank you very much, sorry for my dumbness, but how can I select which config should happen next? I though it was here, but can't figure how for idx, cfg in ipairs(config) do addEvent(do_area_effect, idx * 200, cfg.from_pos, cfg.to_pos, cfg.effect) end
  15. Z

    Area effect using math?

    Hello guys, my title can be a little confusing, but I will try to explain. In my script (action), i want an area effect when the action happen, and its simple... But i want something big, very big, and so, i will have to put sqm per sqm in the whole area that i want. I think an example will...
  16. Z

    Lua Title system

    Oh no, I'm stupid. Sorry
  17. Z

    Lua Title system

    @Xikini Dude, worked perfectly. Are you a God? Thank you very much 1621036087 @Xikini Im sorry, but i found an error(?). If the title has space, like "the king" or something like that, it will not show up on look (but will show in the titles list)
  18. Z

    Lua Title system

    @Xikini Like this?
  19. Z

    Lua Title system

    @Xikini Dude, works perfectly. But now I wanna know who to remove the title? I need to say "!title remove"? it says "Title remove is either unknown or has not be acquired."
Back
Top