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

    onspawn

    try this and after kill put here that what will be printed in the console local monsters = { [1] = "Hunter", [2] = "Hunter1", [3] = "Hunter2", [4] = "Hunter3", [5] = "Hunter4" } local spawn_time = 30 -- Time in seconds to respawn a new one. local spawn_pos = {x = 1000, y = 1000, z = 7} function...
  2. GarQet

    onspawn

    Try this one: hunterconfig = { respawntime = 10, -- respawn in seconds chances = {50, 25, 5}, monsters = {"Hunter1", "Hunter2", "Hunter3", "Hunter4"} } function spawnHunter(pos) addEvent(function() local chance = math.random(1, 100) if...
  3. GarQet

    onspawn

    function onSpawn() exist in TFS?! I didnt hear about it... Told you to use my 1st script which i gave you in yours other(?) topic.
  4. GarQet

    Lua Distance weapon adds DoT?

    It's creating "fire bomb rune" under target and also making the standard effect as burst arrow if someone have special bow, if no its only making standard burst arrow. Im noob, what means DoT?
  5. GarQet

    Lua Clones Dungeon [Quest]

    getGlobalStorageValue(cid,2050,10) remove all "cid," from globalStorages getPlayerStorageValue(cid,1050) == 0 getGlobalStorageValue(2050) == 10
  6. GarQet

    Lua Distance weapon adds DoT?

    What about this: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)...
  7. GarQet

    Lua Clones Dungeon [Quest]

    Imo in that case better to use that "shit" items: local boxes = { {x = 1000, y = 1200, z = 7, stackpos = STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE}, {x = 1001, y = 1200, z = 7, stackpos = STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE}, {x = 1002, y = 1200, z = 7, stackpos =...
  8. GarQet

    [TFS 0.4] 2x SPELL REQUEST

    function onCastSpell(cid, var) local cooldown = 8 -- seconds local target = getCreatureTarget(cid) local storage = 1500 addEvent(function() if cid then setPlayerStorageValue(cid,storage,-1) end end,cooldown*1000) if...
  9. GarQet

    Lua Minion of Gaz'haragoth teleport script

    should be like this - 3rd line in your script local function removeTeleport(position)
  10. GarQet

    [TFS 0.4] 2x SPELL REQUEST

    @Aled @Hashirama479 If you are going to use storages remember that player can die within this time or just logout, if it happen the script wont change the storage and the spell will be bugged for him for forever. So best option is to add line to login.lua which deleting storage...
  11. GarQet

    Miss System

    @Booker , If you dont want to see effects you need to remove statschange scripts and add this: function onAttack(cid, target) if isPlayer(cid) and getPlayerStorageValue(cid, 1111) == 1 then doSendAnimatedText(getCreaturePosition(cid), "MISS!", TEXTCOLOR_WHITE) return false...
  12. GarQet

    Miss System

    Small mistake, updated.
  13. GarQet

    Miss System

    updated
  14. GarQet

    Spell Effect each 2s

    I didnt test it, check it out. your spell local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition...
  15. GarQet

    onspawn

    yes, remember that this "hunter" will be spawned only ONCE (while server is running)
  16. GarQet

    Trying to decrypt this book message

    What about Crowley's system? If we swap the letters we getting:
  17. GarQet

    Miss System

    Now?
  18. GarQet

    Miss System

    Nah, small mistake in code, check it now.
  19. GarQet

    Miss System

    Player cannot move? Updated, check now.
  20. GarQet

    Miss System

    Where it is? registerCreatureEvent(cid, "miss")
Back
Top