Ir para conteúdo

Featured Replies

Postado

Então Eu fui ai Nessa pasta e Tava todo Programado os Items la mais não sei Porque Não esta Aparecendo nos Chars.

Aiai uso essa e funciona perfeitamente .. c ta criando chares novos ? por quer pode ser as storages ...

c não for nada disso tente por mod :

mods/firstitems.xml

<?xml version="1.0" encoding="UTF-8"?>

<mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="no">

<config name="firstitems_config"><![CDATA[

config = {

storage = 30001,

items = {2050, 2382}

}

]]></config>

<event type="login" name="FirstItems" event="script"><![CDATA[

domodlib('firstitems_config')


function onLogin(cid)

    if getPlayerStorageValue(cid, 30001) == -1 then

        if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 9 then

            doPlayerAddItem(cid, 2190, 1)--Wand Of Vortex

            doPlayerAddItem(cid, 2175, 1)--Spellbook

            doPlayerAddItem(cid, 8820, 1)--Mage hat

            doPlayerAddItem(cid, 8819, 1)--Magician Robe

            doPlayerAddItem(cid, 2648, 1)--Chain Legs

            doPlayerAddItem(cid, 2173, 1)--Amulet of loss

            doPlayerAddItem(cid, 2643, 1)--Leather Boots

            doPlayerAddItem(cid, 2004, 1)--Golden Backpack

            doPlayerAddItem(cid, 2152, 25)--Money

            doPlayerAddItem(cid, 2273, 50)--UH

            doPlayerAddItem(cid, 2268, 50)--SD

        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Wizard items.")

        end

        if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 or getPlayerVocation(cid) == 10 then

            doPlayerAddItem(cid, 2182, 1)--Snakekbite Rod

            doPlayerAddItem(cid, 2175, 1)--Spellbook

            doPlayerAddItem(cid, 8820, 1)--Mage hat

            doPlayerAddItem(cid, 8819, 1)--Magician Robe

            doPlayerAddItem(cid, 2648, 1)--Chain Legs

            doPlayerAddItem(cid, 2173, 1)--Amulet of loss

            doPlayerAddItem(cid, 2643, 1)--Leather Boots

            doPlayerAddItem(cid, 2004, 1)--Golden Backpack

            doPlayerAddItem(cid, 2152, 25)--Money

            doPlayerAddItem(cid, 2273, 50)--UH

            doPlayerAddItem(cid, 2268, 50)--SD

        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Prophet items.")

        end

        if getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7 or getPlayerVocation(cid) == 11 then

            doPlayerAddItem(cid, 2389, 2)--Spear

            doPlayerAddItem(cid, 2530, 1)--Copper Shield

            doPlayerAddItem(cid, 2660, 1)--Cloak

            doPlayerAddItem(cid, 8923, 1)--Legs

            doPlayerAddItem(cid, 2173, 1)--Amulet of loss

            doPlayerAddItem(cid, 2643, 1)--Leather Boots

            doPlayerAddItem(cid, 2004, 1)--Golden Backpack

doPlayerAddItem(cid, 2456, 1)--Bow

            doPlayerAddItem(cid, 2152, 25)--Money

            doPlayerAddItem(cid, 2273, 50)--UH

        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Assassin items.")

        end

        if getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 8 or getPlayerVocation(cid) == 12 then

            doPlayerAddItem(cid, 2481, 1)--Soldier Helmet

            doPlayerAddItem(cid, 2465, 1)--Brass Armor

            doPlayerAddItem(cid, 2509, 1)--Steel Shield

            doPlayerAddItem(cid, 2478, 1)--Brass Legs

            doPlayerAddItem(cid, 2173, 1)--Amulet of loss

            doPlayerAddItem(cid, 2643, 1)--Leather Boots

            doPlayerAddItem(cid, 2004, 1)--Golden Backpack

            doPlayerAddItem(cid, 2152, 25)--Money

            doPlayerAddItem(cid, 2273, 50)--UH

            doPlayerAddItem(cid, 8602, 1)--Sword

            doPlayerAddItem(cid, 2439, 1)--Club

            doPlayerAddItem(cid, 8601, 1)--Axe

        doPlayerSendTextMessage(cid,22,""..getPlayerName(cid).." you now have the first Warrior items.")

        end

            setPlayerStorageValue(cid, 30001, 1)

    end

     return TRUE

end 

]]></event>

</mod>

          Procuro Equipe para projeto sério com remuneração, maior necessidade Programador em C\C++.

  • Respostas 5
  • Visualizações 658
  • Created
  • Última resposta

Top Posters In This Topic

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

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

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo