[INC]Translator Include! -
iRaiDeN - 10.05.2014
Introduction
Include is intended primarily syllabus famous throughout the world, that it can be translated into a message or dialogue, then he is so useful.
Features
PHP код:
SendClientMessageTL(clientid,color,msg[],langauge[],tolangauge[]);
ShowPlayerDialogTL(clientid,dialogid,dialog_style,title[],msg[],button1[],button2[],langauge[],tolangauge[]);
Simple Code
PHP код:
CMD:translate(playerid,params[])
{
iTranslate[128];
if(sscanf(params,"s",iTranslate))
return SendClientMessage(playerid,-1,"[Usage]: /translate [Text]");
SendClientMessageTL(playerid,-1,iTranslate,"en","iw");
}
this code translate the text from English to Hebrew.
All the Langauge
PHP код:
en - English
iw - Hebrew
ar - Arbic
ru - Russian
es - Spanish
Download
Pastebin.
SoilidFiles.
Enjoy!
Re: [INC]Translator Include! -
iAnonymous - 10.05.2014
This thing will fail while converting RUSSIAN , ARABIC !
Re: [INC]Translator Include! -
iRaiDeN - 10.05.2014
Quote:
Originally Posted by iAnonymous
This thing will fail while converting RUSSIAN , ARABIC !
|
Why?
Re: [INC]Translator Include! -
iAnonymous - 10.05.2014
Quote:
Originally Posted by iRaiDeN
Why?
|
Go and test it , you will get your answers .
When you will try to convert Russian you will end up getting these question marks ( ? ? ? ? ? ? )
Re: [INC]Translator Include! -
iRaiDeN - 10.05.2014
Quote:
Originally Posted by iAnonymous
Go and test it , you will get your answers .
When you will try to convert Russian you will end up getting these question marks ( ? ? ? ? ? ? )
|
Sure, you need to add the Langauge Russian to your computer, to russian have computer with the langauge russian, it's working on him compuer.
Respuesta: [INC]Translator Include! -
juandiegox - 10.05.2014
not bad, thanks for the contribution will help us a lot +rep
Re: Respuesta: [INC]Translator Include! -
iRaiDeN - 10.05.2014
Quote:
Originally Posted by juandiegox
not bad, thanks for the contribution will help us a lot +rep
|
Thanks!
Re: [INC]Translator Include! -
Wasim - 10.05.2014
Hi i seem a bi of a noob., just read this, where do i put the code,
Thanks,
Re: [INC]Translator Include! -
iRaiDeN - 10.05.2014
Quote:
Originally Posted by Wasim
Hi i seem a bi of a noob., just read this, where do i put the code,
Thanks,
|
In pawno>>include>>translator.inc.
Re: [INC]Translator Include! -
NoahF - 10.05.2014
Thanks for this!