Ir para conteúdo

Featured Replies

Postado

eae galera do tk blz? bom precisa de uma ajuda com o look do meu narutibia, eu estava editando o sistema akatsuki e esta dando erro na hora de dar look na pessoa.

era para aparecer: 

13:15 You see Madara V.I.P (Level 495). He is Madara
He are Akatsuki Member.

 

mais aparece:

13:15 You see Madara V.I.P (Level 495). He is Madara
He are Kage.

 

Queria saber como arrumar, agradeço desde já.

Sem título.png

Resolvido por SomeBody

Ir para solução
Postado
  • Solução

Olá, boa tarde, não sei se já resolveu esse pequeno problema, mas por conhecer essa base, já tive o mesmo, então se ainda não foi resolvido, vamos lá!

 

Em data/creaturescripts/scripts/ procure pelo arquivo "showvoc", abra-o, provavelmente estará assim:

 

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 == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Kage"))
end
return TRUE
end

 

Para corrigir isto, basta fazer uma pequena modificação na linha 5, editando nesta parte:

 

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 == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Kage"))

 

É só trocar o "kage" por "Akatsuki member". Ficando assim a script:

 

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 == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Akatsuki Member"))
end
return TRUE
end

 

Abraços!

 

tumblr_nbat57ejsK1tdrghjo3_500.gif

 

 

Postado
  • Autor

bom cara era esse mesmo o erro, foi de falta de atenção minha mas consegui arrumar vlw ai !! duvida sanada

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.6k

Informação Importante

Confirmação de Termo