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

    Solved - Advanced Spell

    bump
  2. C

    Solved - Advanced Spell

    bump
  3. C

    Solved - Advanced Spell

    bump
  4. C

    Solved - Advanced Spell

    bump
  5. C

    Solved - Advanced Spell

    bump
  6. C

    [Lua] Find Creatures And "Despawn"

    local area1 = {x=1000,y=1000,z=7} local area2 = {x=1500,y=1500,z=7} for x = area1.x, area2.x do for y = area1.y, area2.y do for z = area1.z, area2.z do if isMonster(getTopCreature({x = x, y = y, z = z}).uid) then...
  7. C

    Solved - Advanced Spell

    TFS 1.0 I want an energy attack beam that is 5 squares long, and only does damage to players who have a certain storage value. On top of that, I want a storage value set on the "area" players when it is casted on them. Can anyone do this? NOTE: I do NOT want onTargetCombatHealth used, because...
  8. C

    Solved onTargetCreature not working

    <instant group="healing" spellid="84" name="Holy Touch" words="exura sio" lvl="7" mana="30" aggressive="0" blockwalls="1" needtarget="1" playernameparam="1" params="1" exhaustion="3000" groupcooldown="1000" needlearn="1" script="priest/holy touch.lua"> <vocation name="Priest"/> </instant>...
  9. C

    Solved onTargetCreature not working

    no it is suppose to be a heal, so does it need to be negative? BTW: The spell is set to use params Note: I plan on using more things with it, so I want it to work as is.
  10. C

    Solved onTargetCreature not working

    still not working
  11. C

    Solved onTargetCreature not working

    function onTargetCreature(cid, target) if target and isPlayer(target) then doTargetCombatHealth(0, Player(target), COMBAT_HEALING, 5, 10, CONST_ME_HOLYAREA) end return true end local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT...
  12. C

    Lua onCastSpell - sending to param

    So how would I target health, or like set a storage value on the player that was casted on?
  13. C

    Lua onCastSpell - sending to param

    TFS 1.0 This returns the creature not being found. What is the correct way to do it? function onCastSpell(cid, var) doTargetCombatHealth(0, getPlayerByName(param), COMBAT_HEALING, 1, 5, CONST_ME_HOLYAREA) return true end
  14. C

    Checking for an offline players storage value

    "ALL players in database for storage."
  15. C

    TFS 1.0 source request

    thanks
  16. C

    TFS 1.0 source request

    like this? onCastSpell(cid, var) math.randomseed(os.time()) if math.random(1,3) == 1 then return true else return false end end
  17. C

    Checking for an offline players storage value

    Does anyone know how to do this? I want "totalPlayers" to check ALL players in database for storage. totalPlayers = ???? for i = 1, #totalPlayers do if getPlayerStorageValue(totalPlayers[i], 10000) >= getPlayerStorageValue(totalPlayers[i], 10000) then setGlobalStorageValue(10000...
Back
Top