Jump to content

Search the Community

Showing results for tags 'exchange'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • Anúncios
    • Apresentacoes
    • F.A.Q's & Guias
    • Arquivos
  • Hospedagem de imagens
  • Member special
  • Hardware
    • Tutoriais
    • Duvidas
  • Software
    • Programas
    • Guias & Tutoriais
    • Problemas & Duvidas
    • Segurança e Desempenho
  • Sistemas Operativos
    • FreeBSD
    • Windows
    • Linux
    • Android
  • Programação
    • PHP
    • C & C++
    • SQL
    • C# & .NET & VisualBasic
    • Python
    • Outros
  • Metin2
    • Geral
    • Servidores Privado
    • Tutoriais
    • Serverfiles
    • Quests
    • Cliente
    • Ferramentas/Software
    • 3D & 2D
    • Download
    • Duvidas & Problemas & Pedidos
  • Websites
    • Design
    • Codificado
  • Other Games
    • Dota2
    • League Of Legends
    • Payday 2
  • Design
    • Galeria
    • Tutoriais
    • Pedidos
    • Ferramentas/Diversos
  • Espaço web
    • Webmaster
    • Duvidas
    • Servidores
  • Classificados
    • Trocas e Vendas
    • Outros
  • Tema Livre
    • Filmes & Series
    • Anime
    • Mundo Livre
    • Outros
    • Youtube

Categories

  • Metin2
    • Quests
    • Clientes
    • Serverfiles
    • Tools
    • Other Downloads
    • Weapons & Armors
    • NPC & MOB
  • Software
  • Operating Systems
    • Windows
  • Member special
  • Honor Room

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Jabber


AIM


ICQ


Yahoo! Messenger


Skype


Facebook


Twitter


Google Analytics Client ID

Found 1 result

  1. Serve para trocar item A por item B. quest trade_items begin state start begin when 20008.click begin --NPC vnum, trigerred when click say("What items you wanna trade?") local item_trocas = { --{"Quest option", Item to give to npc, Quantity, Item to receive from npc, Quantity}, {"Reinforce item", 71085, 200, 71084, 20}, {"Piece of Stone", 27990, 200, 27993, 1}, --Add values here, with same structure as above } local escolha = {} for num1,str1 in ipairs(item_trocas) do table.insert(escolha, str1[1]) end local item_select = select_table(escolha, " Close ") local num_item = pc.count_item(item_trocas[item_select][2]) if item_select == table.getn(escolha) then return end say("Do you want to trade ".. item_trocas[item_select][1] .." x" .. item_trocas[item_select][3] .. " and receive "..item_name(item_trocas[item_select][4]).." x" .. item_trocas[item_select][5] .." ?") if select("Yes","No") == 2 then return end if num_item < item_trocas[item_select][3] then syschat("You dont have enough materials for the exchange.") return end pc.removeitem(item_trocas[item_select][2],item_trocas[item_select][3]) pc.give_item2(item_trocas[item_select][4], item_trocas[item_select][5]) end end end
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.