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

    Player can't use spells and runes script!

    add this in your spells scripts if isInRange(getCreaturePosition(cid), {x = 341, y = 465, z = 7}, {x = 424, y = 520, z = 7}) then doPlayerSendCancel(cid,"You can not use this spell here.") return false end exemple: function onCastSpell(cid, var) if isInRange(getCreaturePosition(cid), {x =...
  2. Critico

    Player can't use spells and runes script!

    try use onCombat function onCombat(cid, target) if isPlayer(cid) and isMonster(target) and isInRange(getCreaturePosition(cid), {x = 341, y = 465, z = 7}, {x = 424, y = 520, z = 7}) then return false end return true end
  3. Critico

    Player can't use spells and runes script!

    Try local from,to = {x = 341, y = 465, z = 7},{x = 424, y = 520, z = 7} function onCast(cid, target) return isInRange(getThingPosition(cid), from, to) and false or true end
  4. Critico

    Random pos.

    u need this function : function isWalkable(pos, creature, pz, proj) -- nord if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end local creature = getTopCreature(pos) if creature.type > 0 then return false end if getTilePzInfo(pos) and not pz...
  5. Critico

    VIP Days Remover

    In server 9.1 + no have function onTimer() try this daysremover.lua function onThink(interval, lastExecution) if tostring(os.date("%X")):sub(1, 5) == "00:00" then db.executeQuery("UPDATE accounts SET vipdays = vipdays - 1 WHERE vipdays > 0;") end return true end <globalevent...
  6. Critico

    Lua function onStatsChange(cid, attacker, type, combat, value)

    local config = { playerCount = 2001, -- Global storage for counting the players left/entered in the event reward = {true,2160,10}, pos = {{x = 341, y = 465, z = 7},{x = 424, y = 520, z = 7}} } function removeM() for x = config.pos[1].x, config.pos[2].x do...
  7. Critico

    Lua function onStatsChange(cid, attacker, type, combat, value)

    local config = { playerCount = 2001, -- Global storage for counting the players left/entered in the event reward = {true,2160,10}, pos = {{x = 341, y = 465, z = 7},{x = 424, y = 520, z = 7}} } function removeM() for x = config.pos[1].x, config.pos[2].x do...
  8. Critico

    Lua function onStatsChange(cid, attacker, type, combat, value)

    try change if isPlayer(cid) and isMonster(attacker) then to if isMonster(attacker) and type == STATSCHANGE_HEALTHLOSS then
  9. Critico

    Lua function onStatsChange(cid, attacker, type, combat, value)

    you need to register event in 'onCombat'
  10. Critico

    [Mod] Automatic Raids [Day and Hour]

    and only the error in Orshabaal?
  11. Critico

    Storage value highscores

    http://otland.net/f132/top-ranks-storage-155995/#post1503153
  12. Critico

    NPC Rent Mounts!

    Data/lib RentMount.lua Aluguel_mounts = { ["war horse"] = {price = 10000, days = 2, mountid = 17, level = 10, premium = false, storage = 500561}, ["fire war horse"] = {price = 30000, days = 1, mountid = 23, level = 20, premium = false, storage = 500562}, ["sandstone scorpion"] = {price =...
  13. Critico

    NPC Rent Mounts!

    but has the lib folder on your server?
  14. Critico

    [Weapon] Weapon with 10% chance of a double hit

    lol nice ideia and great script xD was looking this
  15. Critico

    [Mod] Automatic Raids [Day and Hour]

    8.6 ~ 8.7 rev 4.0
  16. Critico

    [Mod] Automatic Raids [Day and Hour]

    hope to see more comments that of the others kkkkk
  17. Critico

    [Mod] Automatic Raids [Day and Hour]

    Automatic Raids.xml <?xml version="1.0" encoding="UTF-8"?> <mod name="Automatic Raids" version="1.0" author="Vodkart And xotservx" contact="otl.com" enabled="yes"> <config name="raids_func"><![CDATA[ days = { ["Monday"] = { ["21:30"] = {nome = "Orshabaal", pos = {fromPosition = {x=184, y=55...
Back
Top