Ir para conteúdo

746 tópicos neste fórum

  1. Barco e Bank

    • 1 resposta
    • 714 visualizações
  2. Barco e Bank

    • 1 resposta
    • 656 visualizações
  3. Goldhaven city

    • 1 resposta
    • 984 visualizações
  4. Quinswood city

    • 1 resposta
    • 876 visualizações
    • 1 resposta
    • 699 visualizações
  5. Sewers

    • 1 resposta
    • 518 visualizações
    • 1 resposta
    • 782 visualizações
  6. Swomp

    • 1 resposta
    • 913 visualizações
  7. Lava Dungeon

    • 1 resposta
    • 832 visualizações
    • 1 resposta
    • 1.3k visualizações
  8. Nature House

    • 1 resposta
    • 902 visualizações
  9. Rat Sewer

    • 1 resposta
    • 637 visualizações
    • 1 resposta
    • 867 visualizações
    • 1 resposta
    • 1.2k visualizações
  10. New type quest

    • 1 resposta
    • 923 visualizações
  11. Teleport Room

    • 1 resposta
    • 1.1k visualizações
  12. Training Room

    • 1 resposta
    • 1.9k visualizações
  13. Shop Room

    • 1 resposta
    • 696 visualizações
  14. Harmony Map

    • 1 resposta
    • 1.1k visualizações
  15. Medium exp Temple

    • 1 resposta
    • 828 visualizações
  16. Boss map

    • 1 resposta
    • 1.3k visualizações
  17. Grim Reaper Spawn

    • 1 resposta
    • 1.4k visualizações
  18. Depot

    • 1 resposta
    • 649 visualizações
  19. Nature Island

    • 1 resposta
    • 992 visualizações
  20. Mountainchip

    • 1 resposta
    • 776 visualizações
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
  • Mais Reputados

  • Tópicos

  • Últimos Posts

    • se existe uma função no TFS pra alterar tamanho de fontes eu desconheço, entao vou usar a funçao doSendAnimatedText(position, text, color) e TEXTCOLOR_WHITE pra deixar o mais semelhante ao que parece, eu nao tenho mais computador hoje em dia devido a problemas economicos, mas por logica deve ficar +- assim:   local colorMsg = "orange" local tableBoss = { ["[EXP] Statue"] = {seconds = 3600, newBoss = "[EXP] Statue"} } local function countdown(position) for i = 5, 0, -1 do addEvent(function() doSendAnimatedText(position, tostring(i), TEXTCOLOR_WHITE) end, (5 - i) * 1000) end end local function timer(position, duration) countdown(position) addEvent(function() for i = 0, (duration - 1) do addEvent(function() doSendAnimatedText(position, tostring(duration - i), TEXTCOLOR_WHITE) end, (i + 6) * 1000) end end, 6000) end local lastTarget = nil function onKill(cid, target, damage, flags) if lastTarget and lastTarget == target then return true end lastTarget = target if isPlayer(target) then return true end local boss = tableBoss[getCreatureName(target)] if not boss then return true end local position = getThingPos(target) doPlayerSendTextMessage(cid, MESSAGE_TYPES[colorMsg], "The boss will be born in " .. boss.seconds .. " seconds.") timer(position, boss.seconds) addEvent(doCreateMonster, (boss.seconds + 5) * 1000, boss.newBoss, position) return true end  
    • Hey, I am looking to buy some interesting project of 7.6-8.0 yurot project. Only good prepared with custom contect, items and other things like addons etc. Ready pack, ready files with engine, sources, client and site.
    • local colorMsg = "orange" local tableBoss = { ["[EXP] Statue"] = {seconds = 3600, newBoss = "[EXP] Statue"} } local function timer(position, duration, color) for i = 0, (duration - 1) do addEvent(function() doSendAnimatedText(position, tostring(duration - i), color) end, i * 1000) end end local lastTarget = nil function onKill(cid, target, damage, flags) if lastTarget and lastTarget == target then return true end lastTarget = target if isPlayer(target) then return true end local boss = tableBoss[getCreatureName(target)] if not boss then return true end local position = getThingPos(target) doPlayerSendTextMessage(cid, MESSAGE_TYPES[colorMsg], "The boss will be born in " .. boss.seconds .. " seconds.") timer(position, boss.seconds, COLOR_WHITE) addEvent(doCreateMonster, boss.seconds * 1000, boss.newBoss, position) return true end   <?xml version="1.0" encoding="UTF-8"?> <monster name="[EXP] Statue" nameDescription="[EXP] Statue" race="blood" experience="100000000000000" speed="0" manacost="0"> <health now="1000000000" max="1000000000"/> <look typeex="9791" corpse="6364"/> <targetchange interval="60000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="0"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="0"/> <flag staticattack="100"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="0"/> <flag runonhealth="0"/> <flag skull="5"/> </flags> <attacks> <attack name="melee" interval="" min="" max=""/> </attacks> <defenses armor="1000000000" defense="1000000000"> <defense name="healing" interval="" chance="1000000000" min="1000000000" max="1000000000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="0"/> </immunities> <voices interval="5000" chance="2000"> <voice sentence="Bonús-EXP!"/> </voices> <loot> </loot> </monster>  
    • local config = { itemIds = {2445, 2550, 2436, 6101, 2408, 7435, 7429, 5803}, position = {x = 156, y = 58, z = 7} } local currentIndex = 1 function onThink(cid, interval) local tile = getThingfromPos(config.position) local item = nil for _, id in ipairs(config.itemIds) do item = getTileItemById(config.position, id) if item.uid ~= 0 then doTransformItem(item.uid, config.itemIds[currentIndex]) doSendMagicEffect(config.position, CONST_ME_MAGIC_GREEN) currentIndex = (currentIndex % #config.itemIds) + 1 break end end return true end   EU QUERIA QUE FICASSE ASSIM
×
×
  • Criar Novo...