SA-MP Forums Archive
[Include] [INC]Translator Include! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC]Translator Include! (/showthread.php?tid=512396)



[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!