1 - I am trying to make a multi language system on my server. But the npc I did hangs the character and does not work. In the emulator does not return any error:
I'm not sure if I'm using OnPCLoginEvent: the wrong way.
Can anyone give me a light???
new_zone02,98,30,1 script Language Changer 412,{
OnPCLoginEvent:
mes "^0000FF[Tradutor]^000000";
mes " * Por favor escolha o Idioma:";
mes " * Please choose a language:";
next;
menu "Português",L_Por,"English",L_Eng;
L_Por:
set #language,0;
next;
mes "^0000FF[Tradutor]^000000";
mes "Obrigado.";
mes "Divirta-se no Servidor HonorBR.";
close;
L_Eng:
set #language,1;
next;
mes "^0000FF[Translator]^000000";
mes "Thank you.";
mes "Have fun on HonorBR Server.";
close;
}
2 - I researched here in the forum and found this topic:
you could check if the use in the other npcs is still like this:
if (#language == 1) {
Germany Text
} else {
Englisch Text
}
Thank you. And thank you for the opportunity.
TRADUÇÃO PT_BR:
Boa noite galera.
1 - Estou tentando fazer um sistema de multi idioma no meu servidor. Mas o npc que fiz trava o personagem e não funciona. No emulador não retorna nenhum erro:
Isso aparece no Putty:
[Warning]: npc_scriptcont: failed npc_checknear test.
Não sei se estou usando o OnPCLoginEvent: de maneira errada.
alguém pode me dar uma luz???
2 - Eu pesquisei aqui no forum e encontrei esse tópico:
vocês podiam verificar se o uso nos outros npcs é mesmo assim:
Obrigado. E desde já agradeço a oportunidade.
*OBS= Eu sempre tento colocar a tradução para o PT_BR para ajudar outros brasileiros com a mesma dúvida.
* OBS = I always try to put the translation to PT_BR to help other Brazilians with the same doubt.
Question
Tassadar
Good night guys.
1 - I am trying to make a multi language system on my server. But the npc I did hangs the character and does not work. In the emulator does not return any error:
This appears in Putty:
I'm not sure if I'm using OnPCLoginEvent: the wrong way.
Can anyone give me a light???
2 - I researched here in the forum and found this topic:
you could check if the use in the other npcs is still like this:
Thank you. And thank you for the opportunity.
TRADUÇÃO PT_BR:
* OBS = I always try to put the translation to PT_BR to help other Brazilians with the same doubt.
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.