[Include] [INC]Translator Include!
#1

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!
Reply
#2

This thing will fail while converting RUSSIAN , ARABIC !
Reply
#3

Quote:
Originally Posted by iAnonymous
Посмотреть сообщение
This thing will fail while converting RUSSIAN , ARABIC !
Why?
Reply
#4

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 ( ? ? ? ? ? ? )
Reply
#5

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.
Reply
#6

not bad, thanks for the contribution will help us a lot +rep
Reply
#7

Quote:
Originally Posted by juandiegox
Посмотреть сообщение
not bad, thanks for the contribution will help us a lot +rep
Thanks!
Reply
#8

Hi i seem a bi of a noob., just read this, where do i put the code,
Thanks,
Reply
#9

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.
Reply
#10

Thanks for this!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)