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

    Solved How can i remove potion 'on use' in this script

    The first code u posted worked! Thank you man! I am only getting a error while trying to use the potion on my God. In this part: if(not isKnight(cid) or getPlayerLevel(cid) < 1) then i tryed: if(not isKnight(cid) or getPlayerLevel(cid) < 1) or getPlayerGroupId(cid) < 5 then and also...
  2. 1268995

    Solved How can i remove potion 'on use' in this script

    I really dont know, i understood some code structures but dont know too much about tfs coded... EDIT: no, i removed the doCreatureSay(itemEx.uid, "Only knights of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) And the same error appear.
  3. 1268995

    Solved How can i remove potion 'on use' in this script

    Worked! Thank ya! I add this checker: if((not(isKnight(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only knights of level 80 or above may drink this...
  4. 1268995

    Solved How can i remove potion 'on use' in this script

    Yee, the script works. I am wining mana when i use the item, But appear on console: [28/07/2015 19:01:52] [Error - Action Interface] [28/07/2015 19:01:52] data/actions/scripts/liquids/potionsdonate.lua:onUse [28/07/2015 19:01:52] Description: [28/07/2015 19:01:52] (luaDoCreatureSay) Creature...
  5. 1268995

    i dont get it

    Are u using /a what?
  6. 1268995

    Solved How can i remove potion 'on use' in this script

    Thanks. But i look for on this script the part that are giving player mana and health and i do not found it. Where is the doplayeraddhealth/mana on this code part: ? doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1)...
  7. 1268995

    Solved How can i remove potion 'on use' in this script

    Well, exist actions scripts that work witouht the need right click on item + right click on player. So i think this potion script are edited to work like right click on item + right click on player I need to remove this part of code that say: script will only give mana if right click on item +...
  8. 1268995

    Solved How can i remove potion 'on use' in this script

    Hello guys, i have this potion script: local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "no", -- make text effect visible only for players in range 1x1...
  9. 1268995

    Lua Error in script upgrade

    I dont know if it will solve your problem, but remove the last ' , ' on this part: conf["upgrade"] = { -- how many parcent attributes are rised? attack = 5, -- attack % extraAttack = 10, -- extra Attack % defense = 5, -- defence % extraDefense = 10, -- extra defence % armor...
  10. 1268995

    GESIOR: How to make a spoiler?

    bump
  11. 1268995

    GESIOR: How to make a spoiler?

    I tested.. i put the code on some of my php files , reloaded page and only appear a blank page. Something is wrong with the code.
  12. 1268995

    GESIOR: How to make a spoiler?

    Nice! But i must simple add that to my code or i should add a function in someplace? (cant test right now)
  13. 1268995

    GESIOR: How to make a spoiler?

    How can i do that?
  14. 1268995

    GESIOR: How to make a spoiler?

    bump;;
  15. 1268995

    Solved how: tile that works like water/lava -> itens thrown in there are destructed

    HELLLLL YEEEEEE WORKKKKKED LOVE YAAAA !!!!!!!!!!!!!!!!
  16. 1268995

    Solved how: tile that works like water/lava -> itens thrown in there are destructed

    How can i do that? I tile that when i thrown itens inside of it, the item will be destroyed?
  17. 1268995

    GESIOR: How to make a spoiler?

    Hello guys. My website = Gesior. I maded a Quests page. Its a lot of quests, then i want make a spoiler to player only see information of the quest he want to make. Its something like that: Quest 1 <spoiler about quest 1> Quest 2 <spoiler about quest 2> (...) How can i do that? What i...
  18. 1268995

    Lua When player get new quest dont appear 'ur quest log has been updated'.

    Hello. I am making quest log to my quests. All work good, player are winning the quest normaly. I can see the quest player are making on quest log. The problem is that when he take a new quest, dont appear that message: you quest log has been updated. How can i solve that? my quests.xml...
  19. 1268995

    Server crashing (not enough memory)

    Worked! Thanks!
Back
Top