Ir para conteúdo

SomeBody

Membro
  • Registro em

  • Última visita

Solutions

  1. SomeBody's post in (Resolvido)[PEDIDO] Problemas no "Look" do Nto was marked as the answer   
    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!

Informação Importante

Confirmação de Termo