[Include] Language - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (
https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [Include] Language (
/showthread.php?tid=304301)
Language -
AppleX - 17.12.2011
Nгo sei se pode ser ъtil а alguйm, mas gastei 20 minutos do meu tempo para fazer isso, entгo vou postar.
pawn Код:
AddLanguages(...) // Vocк pode adicionar 128 linguagens.
// Exemplo:
AddLanguage("Portuguese", "English", "Spanish", "Italian");
pawn Код:
SetPlayerLanguage(playerid, szLang[]) // Coloca uma linguagem ao player, caso nгo existir retornarб -1.
// Exemplo:
SetPlayerLanguage(playerid, "Portuguese");
pawn Код:
GetPlayerLanguage(playerid) // Pega o nome da linguagem do player.
// Exemplo:
print(GetPlayerLanguage(0));
pawn Код:
GetLanguageIndex(szLang[]) // Pega o ID de uma linguagem.
// Exemplo:
printf("A linguagem Portuguesa й o id %d!", GetLanguageIndex("Portuguese"));
pawn Код:
GetLanguageName(iIndex) // Pega o nome da linguagem pelo ID.
// Exemplo:
print(GetLanguageName(1));
Pastebin:
http://pastebin.com/LWNixRwk
Re: Language -
Kuddy - 17.12.2011
Ъtil, irei utilisar xD
10/10
@off olha o link em minha assinatura.
Re: Language -
Mattos - 17.12.2011
Bacana xD
Re: Language -
Macintosh - 17.12.2011
ruim.. feio.. horrнvel.. vocк й apple .-. .
boun topicъ (:
Re: Language - [S]trong - 17.12.2011
bom trabalho applex
Re: Language -
Leeo_Perez - 17.12.2011
GJ, gostei
Re: Language -
steki. - 17.12.2011
Entгo, tio, se seta umas variabre zika rб e tб tudo suave assim? =)
Re: Language -
ExpressxD - 17.12.2011
Boa Meu Jovem !