• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [Mods] First items tfs / otx

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1[Mods] First items tfs / otx Empty [Mods] First items tfs / otx Vie Jul 17, 2015 10:26 pm

    [Admin] God Maya

    [Admin] God Maya
    Administrador
    Administrador
    hola usuarios de tibiaface


    bueno aqui les dejo los first item o item inciales para su ot en mods

    copian cualquier archivo de su carpeta mods y renombran por firstitem.lua y pegan esto dentro


    Código:
    <?xml version="1.0" encoding="UTF-8"?>
    <mod name="First Items" version="1.0" author="Kaiser" contact="marranas6@gmail.com" enabled="yes">
       <description><![CDATA[
          Custom Fist Items
       ]]></description>
       <config name="firstitems_config"><![CDATA[
          config = {
             storage = 40046,
             items = {}
          }
       ]]></config>
       <event type="login" name="FirstItems" event="buffer"><![CDATA[
          domodlib('firstitems_config')
          if(getPlayerStorageValue(cid, config.storage) > 0) then
             return
          end

          for _, id in ipairs(config.items) do
             doPlayerAddItem(cid, id, 1)
          end

          -- All Vocation
             -- BackPack -- Rope -- in Backpack
             doAddContainerItem(doPlayerAddItem(cid, 1988, 1), 2120, 1)
             -- Brass Armor -- Body
             doPlayerAddItem(cid, 2465, 1)
             -- Steel Helmet -- Head
             doPlayerAddItem(cid, 2457, 1)
             -- Bonelord Shield -- Right Hand
             doPlayerAddItem(cid, 2518, 1)

          -- Sorcerer (Weapon) -- Hand
          if isSorcerer(cid) then
             doPlayerAddItem(cid, 2190, 1) -- Wand of Vortex -- Left Hand
             doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..".")

          -- Druid (Weapon) -- Hand
          elseif isDruid(cid) then
             doPlayerAddItem(cid, 2182, 1) -- Snake Bite Rod -- Left Hand
             doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..".")

          -- Paladin - Warrior (Weapon) -- Hand
          elseif isPaladin(cid) then
             doPlayerAddItem(cid, 2389, 20) -- Spear -- Left Hand
             doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..".")

          -- Knight (Weapon) -- Hand
          elseif isKnight(cid) then
             doPlayerAddItem(cid, 8602, 1) -- Jagged Sword -- Left Hand
             doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT," "..getPlayerName(cid).." now have the first items of "..getPlayerVocationName(cid)..".")
          end

          -- All Vocation
             -- Brass Legs -- in Feet
             doPlayerAddItem(cid, 2478, 1)
             -- Leather Boots -- in Boots
             doPlayerAddItem(cid, 2643, 1)
             -- Scarf -- in Necklacke
             doPlayerAddItem(cid, 2661, 1)
             -- Platinum Coin -- in Arrows
             doPlayerAddItem(cid, 2152, 1)
             -- Health Potion -- in Backpack
             doPlayerAddItem(cid, 7618, 10)
             -- Shovel -- in Backpack
             doPlayerAddItem(cid, 2554, 1)
             -- Crystal Ring -- in Ring
             doPlayerAddItem(cid, 2124, 1)
             -- Mana Potion -- in Backpack
             doPlayerAddItem(cid, 7620, 15)

          -- Knight (Weapon) -- in Backpack
          if isKnight(cid) then
             doPlayerAddItem(cid, 8601, 1) -- Steel Axe
             doPlayerAddItem(cid, 2439, 1) -- Daramanian mace
          end

       setPlayerStorageValue(cid, config.storage, 1)
       ]]></event>
    </mod>



    y listo



    [Mods] First items tfs / otx YNU5B25
    2 participantes
    http://www.tibiaface.com

    2[Mods] First items tfs / otx Empty teste Jue Oct 15, 2015 6:42 am

    Felipe93

    Felipe93
    Miembro
    Miembro
    Nesesito este mod pero para version 7.72 otx WAR players level 50
    palys cross + bolt (mana + runes)
    knight shield+ arma + arma 2 manos (runas ek + mana)
    sorcerer druid burst arrows bow + runes war (paralize druid)
    todos con 2k rope shovel 2 bp
    porfa maya probe varios trate de editar y me tiraban error altoke
    porfaaaa
    gracias :B



    bump!

    2 participantes

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).