Ir para conteúdo

Começar com todos os addons


Posts Recomendados

Vi duas pessoal no fórum pedindo então ta aí, quando você loga você ganha todos os addons.

 

 

 

-- Script feito por Tiagoduuarte
function onLogin(cid)

 

doPlayerAddOutfit(cid, 136, 1)

doPlayerAddOutfit(cid, 136, 2)

doPlayerAddOutfit(cid, 128, 1)

doPlayerAddOutfit(cid, 128, 2)

doPlayerAddOutfit(cid, 137, 1)

doPlayerAddOutfit(cid, 137, 2)

doPlayerAddOutfit(cid, 129, 1)

doPlayerAddOutfit(cid, 129, 2)

doPlayerAddOutfit(cid, 138, 1)

doPlayerAddOutfit(cid, 138, 2)

doPlayerAddOutfit(cid, 130, 1)

doPlayerAddOutfit(cid, 130, 2)

doPlayerAddOutfit(cid, 139, 1)

doPlayerAddOutfit(cid, 139, 2)

doPlayerAddOutfit(cid, 131, 1)

doPlayerAddOutfit(cid, 131, 2)

doPlayerAddOutfit(cid, 140, 1)

doPlayerAddOutfit(cid, 140, 2)

doPlayerAddOutfit(cid, 132, 1)

doPlayerAddOutfit(cid, 132, 2)

doPlayerAddOutfit(cid, 141, 1)

doPlayerAddOutfit(cid, 141, 2)

doPlayerAddOutfit(cid, 133, 1)

doPlayerAddOutfit(cid, 133, 2)

doPlayerAddOutfit(cid, 142, 1)

doPlayerAddOutfit(cid, 142, 2)

doPlayerAddOutfit(cid, 134, 1)

doPlayerAddOutfit(cid, 134, 2)

doPlayerAddOutfit(cid, 147, 1)

doPlayerAddOutfit(cid, 147, 2)

doPlayerAddOutfit(cid, 143, 1)

doPlayerAddOutfit(cid, 143, 2)

doPlayerAddOutfit(cid, 149, 1)

doPlayerAddOutfit(cid, 149, 2)

doPlayerAddOutfit(cid, 145, 1)

doPlayerAddOutfit(cid, 145, 2)

doPlayerAddOutfit(cid, 150, 1)

doPlayerAddOutfit(cid, 150, 2)

doPlayerAddOutfit(cid, 146, 1)

doPlayerAddOutfit(cid, 146, 2)

doPlayerAddOutfit(cid, 155, 1)

doPlayerAddOutfit(cid, 155, 2)

doPlayerAddOutfit(cid, 151, 1)

doPlayerAddOutfit(cid, 151, 2)

doPlayerAddOutfit(cid, 156, 1)

doPlayerAddOutfit(cid, 156, 2)

doPlayerAddOutfit(cid, 152, 1)

doPlayerAddOutfit(cid, 152, 2)

doPlayerAddOutfit(cid, 157, 1)

doPlayerAddOutfit(cid, 157, 2)

doPlayerAddOutfit(cid, 153, 1)

doPlayerAddOutfit(cid, 153, 2)

doPlayerAddOutfit(cid, 158, 1)

doPlayerAddOutfit(cid, 158, 2)

doPlayerAddOutfit(cid, 154, 1)

doPlayerAddOutfit(cid, 154, 2)

doPlayerAddOutfit(cid, 252, 1)

doPlayerAddOutfit(cid, 252, 2)

doPlayerAddOutfit(cid, 251, 1)

doPlayerAddOutfit(cid, 251, 2)

doPlayerAddOutfit(cid, 268, 1)

doPlayerAddOutfit(cid, 268, 2)

doPlayerAddOutfit(cid, 269, 1)

doPlayerAddOutfit(cid, 269, 2)

doPlayerAddOutfit(cid, 270, 1)

doPlayerAddOutfit(cid, 270, 2)

doPlayerAddOutfit(cid, 273, 1)

doPlayerAddOutfit(cid, 273, 2)

doPlayerAddOutfit(cid, 279, 1)

doPlayerAddOutfit(cid, 279, 2)

doPlayerAddOutfit(cid, 278, 1)

doPlayerAddOutfit(cid, 278, 2)

doPlayerAddOutfit(cid, 288, 1)

doPlayerAddOutfit(cid, 288, 2)

doPlayerAddOutfit(cid, 289, 1)

doPlayerAddOutfit(cid, 289, 2)

doPlayerAddOutfit(cid, 324, 1)

doPlayerAddOutfit(cid, 324, 2)

doPlayerAddOutfit(cid, 325, 1)

doPlayerAddOutfit(cid, 325, 2)

doPlayerAddOutfit(cid, 336, 1)

doPlayerAddOutfit(cid, 336, 2)

doPlayerAddOutfit(cid, 335, 1)

doPlayerAddOutfit(cid, 335, 2)

end

 

 

Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...

function onLogin(cid)

 

doPlayerAddOutfit(cid, 136, 1)

doPlayerAddOutfit(cid, 136, 2)

 

doPlayerAddOutfit = função que adiciona os addons ao player

(cid, 136, 1) = esse '136' é a id do outfit, dê uma olhadinha ali embaixo e veja os addons e seus ids

(cid, 136, 2) = esse '2' é o addon 2, repara que, para cada id de addon, ele coloca uma linha com '1' e outra com '2'. Um jeito mais simples de se fazer, é colocar '3' no lugar desses 1 e 2, assim, você só faz 1 linha por id addon, já que o nº 3 irá adicionar o addon 1 e 2.

 

Outfits e seus IDs:

 

 

<?xml version="1.0"?>
<outfits>
<outfit id="1">
<list gender="0" lookType="136" name="Citizen"/>
<list gender="1" lookType="128" name="Citizen"/>
</outfit>

<outfit id="2">
<list gender="0" lookType="137" name="Hunter"/>
<list gender="1" lookType="129" name="Hunter"/>
</outfit>

<outfit id="3">
<list gender="0" lookType="138" name="Mage"/>
<list gender="1" lookType="130" name="Mage"/>
</outfit>

<outfit id="4">
<list gender="0" lookType="139" name="Knight"/>
<list gender="1" lookType="131" name="Knight"/>
</outfit>

<outfit id="5" premium="yes">
<list gender="0" lookType="140" name="Noblewoman"/>
<list gender="1" lookType="132" name="Nobleman"/>
</outfit>

<outfit id="6" premium="yes">
<list gender="0" lookType="141" name="Summoner"/>
<list gender="1" lookType="133" name="Summoner"/>
</outfit>

<outfit id="7" premium="yes">
<list gender="0" lookType="142" name="Warrior"/>
<list gender="1" lookType="134" name="Warrior"/>
</outfit>

<outfit id="8" premium="yes">
<list gender="0" lookType="147" name="Barbarian"/>
<list gender="1" lookType="143" name="Barbarian"/>
</outfit>

<outfit id="9" premium="yes">
<list gender="0" lookType="148" name="Druid"/>
<list gender="1" lookType="144" name="Druid"/>
</outfit>

<outfit id="10" premium="yes">
<list gender="0" lookType="149" name="Wizard"/>
<list gender="1" lookType="145" name="Wizard"/>
</outfit>

<outfit id="11" premium="yes">
<list gender="0" lookType="150" name="Oriental"/>
<list gender="1" lookType="146" name="Oriental"/>
</outfit>

<outfit id="12" premium="yes">
<list gender="0" lookType="155" name="Pirate"/>
<list gender="1" lookType="151" name="Pirate"/>
</outfit>

<outfit id="13" premium="yes">
<list gender="0" lookType="156" name="Assassin"/>
<list gender="1" lookType="152" name="Assassin"/>
</outfit>

<outfit id="14" premium="yes">
<list gender="0" lookType="157" name="Beggar"/>
<list gender="1" lookType="153" name="Beggar"/>
</outfit>

<outfit id="15" premium="yes">
<list gender="0" lookType="158" name="Shaman"/>
<list gender="1" lookType="154" name="Shaman"/>
</outfit>

<outfit id="16" premium="yes">
<list gender="0" lookType="252" name="Norsewoman"/>
<list gender="1" lookType="251" name="Norseman"/>
</outfit>

<outfit id="17" premium="yes">
<list gender="0" lookType="269" name="Nightmare"/>
<list gender="1" lookType="268" name="Nightmare"/>
</outfit>

<outfit id="18" premium="yes">
<list gender="0" lookType="270" name="Jester"/>
<list gender="1" lookType="273" name="Jester"/>
</outfit>

<outfit id="19" premium="yes">
<list gender="0" lookType="279" name="Brotherhood"/>
<list gender="1" lookType="278" name="Brotherhood"/>
</outfit>

<outfit id="20" premium="yes">
<list gender="0" lookType="288" name="Demonhunter"/>
<list gender="1" lookType="289" name="Demonhunter"/>
</outfit>

<outfit id="21" premium="yes">
<list gender="0" lookType="324" name="Yalaharian"/>
<list gender="1" lookType="325" name="Yalaharian"/>
</outfit>

<outfit id="22" premium="yes">
<list gender="0" lookType="336" name="Warmaster"/>
<list gender="1" lookType="335" name="Warmaster"/>
</outfit>

<outfit id="23" premium="yes">
<list gender="0" lookType="366" name="Wayfarer"/>
<list gender="1" lookType="367" name="Wayfarer"/>
</outfit>

<outfit id="24" default="0">
<list gender="0" lookType="329" name="Wedding"/>
<list gender="1" lookType="328" name="Wedding"/>
</outfit>

<outfit id="25" premium="yes">
<list gender="0" lookType="431" name="Afflicted"/>
<list gender="1" lookType="430" name="Afflicted"/>
</outfit>

<outfit id="26" premium="yes">
<list gender="0" lookType="433" name="Elementalist"/>
<list gender="1" lookType="432" name="Elementalist"/>
</outfit>

<outfit id="27" premium="yes">
<list gender="0" lookType="464" name="Deepling"/>
<list gender="1" lookType="463" name="Deepling"/>
</outfit>

<outfit id="28" premium="yes">
<list gender="0" lookType="466" name="Insectoid"/>
<list gender="1" lookType="465" name="Insectoid"/>
</outfit>

<outfit id="29" premium="yes">
<list gender="0" lookType="471" name="Entrepreneur"/>
<list gender="1" lookType="472" name="Entrepreneur"/>
</outfit>

<outfit id="30" premium="yes">
<list gender="0" lookType="513" name="Crystal Warlord"/>
<list gender="1" lookType="512" name="Crystal Warlord"/>
</outfit>

<outfit id="31" premium="yes">
<list gender="0" lookType="514" name="Soil Guardian"/>
<list gender="1" lookType="516" name="Soil Guardian"/>
</outfit>

<outfit id="32" premium="yes">
<list gender="0" lookType="542" name="Demon"/>
<list gender="1" lookType="541" name="Demon"/>
</outfit>

</outfits>

 

 

 

outfit id="?" = ID do outfit

premium="yes" = se o outfit for apenas para premium accounts

list gender="0" = outfit female é 0, outfit male é 1

lookType="?" = looktype é o sprite do outfit

Editado por nahbob
Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

Vi duas pessoal no fórum pedindo então ta aí, quando você loga você ganha todos os addons.

 

 

 

-- Script feito por Tiagoduuarte

function onLogin(cid)

 

doPlayerAddOutfit(cid, 136, 1)

doPlayerAddOutfit(cid, 136, 2)

doPlayerAddOutfit(cid, 128, 1)

doPlayerAddOutfit(cid, 128, 2)

doPlayerAddOutfit(cid, 137, 1)

doPlayerAddOutfit(cid, 137, 2)

doPlayerAddOutfit(cid, 129, 1)

doPlayerAddOutfit(cid, 129, 2)

doPlayerAddOutfit(cid, 138, 1)

doPlayerAddOutfit(cid, 138, 2)

doPlayerAddOutfit(cid, 130, 1)

doPlayerAddOutfit(cid, 130, 2)

doPlayerAddOutfit(cid, 139, 1)

doPlayerAddOutfit(cid, 139, 2)

doPlayerAddOutfit(cid, 131, 1)

doPlayerAddOutfit(cid, 131, 2)

doPlayerAddOutfit(cid, 140, 1)

doPlayerAddOutfit(cid, 140, 2)

doPlayerAddOutfit(cid, 132, 1)

doPlayerAddOutfit(cid, 132, 2)

doPlayerAddOutfit(cid, 141, 1)

doPlayerAddOutfit(cid, 141, 2)

doPlayerAddOutfit(cid, 133, 1)

doPlayerAddOutfit(cid, 133, 2)

doPlayerAddOutfit(cid, 142, 1)

doPlayerAddOutfit(cid, 142, 2)

doPlayerAddOutfit(cid, 134, 1)

doPlayerAddOutfit(cid, 134, 2)

doPlayerAddOutfit(cid, 147, 1)

doPlayerAddOutfit(cid, 147, 2)

doPlayerAddOutfit(cid, 143, 1)

doPlayerAddOutfit(cid, 143, 2)

doPlayerAddOutfit(cid, 149, 1)

doPlayerAddOutfit(cid, 149, 2)

doPlayerAddOutfit(cid, 145, 1)

doPlayerAddOutfit(cid, 145, 2)

doPlayerAddOutfit(cid, 150, 1)

doPlayerAddOutfit(cid, 150, 2)

doPlayerAddOutfit(cid, 146, 1)

doPlayerAddOutfit(cid, 146, 2)

doPlayerAddOutfit(cid, 155, 1)

doPlayerAddOutfit(cid, 155, 2)

doPlayerAddOutfit(cid, 151, 1)

doPlayerAddOutfit(cid, 151, 2)

doPlayerAddOutfit(cid, 156, 1)

doPlayerAddOutfit(cid, 156, 2)

doPlayerAddOutfit(cid, 152, 1)

doPlayerAddOutfit(cid, 152, 2)

doPlayerAddOutfit(cid, 157, 1)

doPlayerAddOutfit(cid, 157, 2)

doPlayerAddOutfit(cid, 153, 1)

doPlayerAddOutfit(cid, 153, 2)

doPlayerAddOutfit(cid, 158, 1)

doPlayerAddOutfit(cid, 158, 2)

doPlayerAddOutfit(cid, 154, 1)

doPlayerAddOutfit(cid, 154, 2)

doPlayerAddOutfit(cid, 252, 1)

doPlayerAddOutfit(cid, 252, 2)

doPlayerAddOutfit(cid, 251, 1)

doPlayerAddOutfit(cid, 251, 2)

doPlayerAddOutfit(cid, 268, 1)

doPlayerAddOutfit(cid, 268, 2)

doPlayerAddOutfit(cid, 269, 1)

doPlayerAddOutfit(cid, 269, 2)

doPlayerAddOutfit(cid, 270, 1)

doPlayerAddOutfit(cid, 270, 2)

doPlayerAddOutfit(cid, 273, 1)

doPlayerAddOutfit(cid, 273, 2)

doPlayerAddOutfit(cid, 279, 1)

doPlayerAddOutfit(cid, 279, 2)

doPlayerAddOutfit(cid, 278, 1)

doPlayerAddOutfit(cid, 278, 2)

doPlayerAddOutfit(cid, 288, 1)

doPlayerAddOutfit(cid, 288, 2)

doPlayerAddOutfit(cid, 289, 1)

doPlayerAddOutfit(cid, 289, 2)

doPlayerAddOutfit(cid, 324, 1)

doPlayerAddOutfit(cid, 324, 2)

doPlayerAddOutfit(cid, 325, 1)

doPlayerAddOutfit(cid, 325, 2)

doPlayerAddOutfit(cid, 336, 1)

doPlayerAddOutfit(cid, 336, 2)

doPlayerAddOutfit(cid, 335, 1)

doPlayerAddOutfit(cid, 335, 2)

end

 

 

Ok cara, mas agora me explique: onde coloca esse script? cria arquivo novo? edita algum arquivo?

Reorganize o tópico, por favor... está mal explicado, qualquer novato, assim como eu, apanhará bastante para adivinhar onde colocar isso.

Link para o comentário
Compartilhar em outros sites

Não seria mais fácil ir no config.lua e mudar addonsOnlyPremium = false e ir em xml/outfits e por premium="no"> ?

 

 

Bom vou tentar explicar, crie um arquivo em creaturescript/scripts crie um arquivo outfits e cole isto.

 

 

-- Script feito por Tiagoduuarte

function onLogin(cid)

doPlayerAddOutfit(cid, 136, 1)

doPlayerAddOutfit(cid, 136, 2)

doPlayerAddOutfit(cid, 128, 1)

doPlayerAddOutfit(cid, 128, 2)

doPlayerAddOutfit(cid, 137, 1)

doPlayerAddOutfit(cid, 137, 2)

doPlayerAddOutfit(cid, 129, 1)

doPlayerAddOutfit(cid, 129, 2)

doPlayerAddOutfit(cid, 138, 1)

doPlayerAddOutfit(cid, 138, 2)

doPlayerAddOutfit(cid, 130, 1)

doPlayerAddOutfit(cid, 130, 2)

doPlayerAddOutfit(cid, 139, 1)

doPlayerAddOutfit(cid, 139, 2)

doPlayerAddOutfit(cid, 131, 1)

doPlayerAddOutfit(cid, 131, 2)

doPlayerAddOutfit(cid, 140, 1)

doPlayerAddOutfit(cid, 140, 2)

doPlayerAddOutfit(cid, 132, 1)

doPlayerAddOutfit(cid, 132, 2)

doPlayerAddOutfit(cid, 141, 1)

doPlayerAddOutfit(cid, 141, 2)

doPlayerAddOutfit(cid, 133, 1)

doPlayerAddOutfit(cid, 133, 2)

doPlayerAddOutfit(cid, 142, 1)

doPlayerAddOutfit(cid, 142, 2)

doPlayerAddOutfit(cid, 134, 1)

doPlayerAddOutfit(cid, 134, 2)

doPlayerAddOutfit(cid, 147, 1)

doPlayerAddOutfit(cid, 147, 2)

doPlayerAddOutfit(cid, 143, 1)

doPlayerAddOutfit(cid, 143, 2)

doPlayerAddOutfit(cid, 149, 1)

doPlayerAddOutfit(cid, 149, 2)

doPlayerAddOutfit(cid, 145, 1)

doPlayerAddOutfit(cid, 145, 2)

doPlayerAddOutfit(cid, 150, 1)

doPlayerAddOutfit(cid, 150, 2)

doPlayerAddOutfit(cid, 146, 1)

doPlayerAddOutfit(cid, 146, 2)

doPlayerAddOutfit(cid, 155, 1)

doPlayerAddOutfit(cid, 155, 2)

doPlayerAddOutfit(cid, 151, 1)

doPlayerAddOutfit(cid, 151, 2)

doPlayerAddOutfit(cid, 156, 1)

doPlayerAddOutfit(cid, 156, 2)

doPlayerAddOutfit(cid, 152, 1)

doPlayerAddOutfit(cid, 152, 2)

doPlayerAddOutfit(cid, 157, 1)

doPlayerAddOutfit(cid, 157, 2)

doPlayerAddOutfit(cid, 153, 1)

doPlayerAddOutfit(cid, 153, 2)

doPlayerAddOutfit(cid, 158, 1)

doPlayerAddOutfit(cid, 158, 2)

doPlayerAddOutfit(cid, 154, 1)

doPlayerAddOutfit(cid, 154, 2)

doPlayerAddOutfit(cid, 252, 1)

doPlayerAddOutfit(cid, 252, 2)

doPlayerAddOutfit(cid, 251, 1)

doPlayerAddOutfit(cid, 251, 2)

doPlayerAddOutfit(cid, 268, 1)

doPlayerAddOutfit(cid, 268, 2)

doPlayerAddOutfit(cid, 269, 1)

doPlayerAddOutfit(cid, 269, 2)

doPlayerAddOutfit(cid, 270, 1)

doPlayerAddOutfit(cid, 270, 2)

doPlayerAddOutfit(cid, 273, 1)

doPlayerAddOutfit(cid, 273, 2)

doPlayerAddOutfit(cid, 279, 1)

doPlayerAddOutfit(cid, 279, 2)

doPlayerAddOutfit(cid, 278, 1)

doPlayerAddOutfit(cid, 278, 2)

doPlayerAddOutfit(cid, 288, 1)

doPlayerAddOutfit(cid, 288, 2)

doPlayerAddOutfit(cid, 289, 1)

doPlayerAddOutfit(cid, 289, 2)

doPlayerAddOutfit(cid, 324, 1)

doPlayerAddOutfit(cid, 324, 2)

doPlayerAddOutfit(cid, 325, 1)

doPlayerAddOutfit(cid, 325, 2)

doPlayerAddOutfit(cid, 336, 1)

doPlayerAddOutfit(cid, 336, 2)

doPlayerAddOutfit(cid, 335, 1)

doPlayerAddOutfit(cid, 335, 2)

end

 

em creaturescripts.xml cole isto

 

 

<event type="login" name="OutfitsLogin" event="script" value="outfits.lua"/>

 

 

OBS(Script foi postado logo acima só estou ajudando, embora não funcione não tenho culpa.

Editado por dyego2008
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...