Eae Galera Venho aki Para trazer um Scripts De Item Que Adiciona Vocation e Outfit Ao mesmo Tempo Vamos La Em,<Actions> <scripts> crie um arquivo.lua chamado vocknight e cole a seguinte scripts
Em actions.xml Adicione registre a seguinte tag
<action itemid="ID DO ITEM" script="vocknight.lua"/>
Espero Ter Ajudado a Muitos Ai
ae galera hoje e minha despedida do xtibia então resolvir trazer varias sprite do ntobr madara rikudou 600 com movimentos Kabuto novas hidan 600 Killer bee Todas Sai 400 O resto vocês Vejam Ai Galera não Vou Deixar Imagem ai o Link e o Scan pós estou com pressa
Eae Pessoal aki Venho Trazer pra Os garotos Que Curti Ntoultimate Porem Esse Scripts ja exist eu so fiz Edita Ele e Adiciona storage pra mostra que o player e da akatsuki quando clika no item entao Vamos La Primeiramente Voce vai em <data Actions <Scripts> Copie um Arquivo.lua e apague tudo e Cole Esse Scripts
local config = {
--[vocation id] = { nova voc, looktype}
[1] = { 2, 603},
[10] = { 10, 611},
[30] = { 30, 566} ,
[40] = { 40, 603},
[50] = { 50, 587},
[60] = { 60, 543},
[70] = { 70, 597},
[80] = { 80, 576},
[90] = { 90, 590},
[100] = { 100, 580},
[110] = { 110, 551},
[120] = { 120, 584},
[130] = { 130, 556},
[140] = { 140, 594},
[150] = { 150, 588},
[180] = { 180, 573},
[200] = { 200, 606},
[210] = { 210, 571},
[220] = { 220, 646},
[230] = { 230, 602}
}
function onUse(cid, item, frompos, item2, topos)
local voc = config[getPlayerVocation(cid)]
if voc then
doPlayerSetVocation(cid, voc[1])
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Se Tornou um Membro Da Akatsuki!!!")
local outfit = {lookType = voc[2]}
doCreatureChangeOutfit(cid, outfit)
doRemoveItem(item.uid, 6)
setPlayerStorageValue(cid, 89745, 6)
setPlayerStorageValue(cid, storageGain, 89745)
else
doPlayerSendCancel(cid, "Você não pode se Tornar um Membro da Akatsuki!")
end
return true
end
Em Actions.xml
<action itemid="5943" script="akatsuki.lua"/>
Agr Va Em Seu Creaturescripts Scripts e Procure por showvoc e apague tudo e cole esse dentro
function onLook(cid, thing, position, lookDistance)
if isPlayer(thing.uid) then
local type = getPlayerStorageValue(thing.uid, 89745)
doPlayerSetSpecialDescription(thing.uid, "\n "..(getPlayerSex(cid) == 0 and "She" or "He").." are "..(type < 0 and "Shinobi" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 6 and "Akatsuki" or type == 4 and "Anbu" or type == 5 and "Captain Anbu"))
end
return true
end
E salve Agr Toda Vez Que Voce Clika no item no caso 5943 o Morgaroth Hearb Voce vai ganha a outfit da akatsuki e Vai Fica como um Mmebro Akatsuki
13:06 You see DivineAkira (Level 312). He is a Minato
He are Akatsuki.
Explicando
[1] = { 2, 603},
Em Azul e o Id Da voc que Tem q Estar Pra transformar No Caso E naruto
Em Amarelo e A Vocation Que Ele Vai Virar Eu adicionei Experience no meu server
Em Vermelho e o Id Da outfit que ele Vai Ganha Espero Ter Ajudado
Em compile procure por fb92b9eef61bba4b472e7c245a0caa8a1a6fa10c.file.index.tpl.php e abrea dps so procurar pelo link do downloand e substituir pelo seu link o se nao for vá em system/pages/downloand vai ter o link do downloand