SA-MP Forums Archive
I'm thinking of... - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I'm thinking of... (/showthread.php?tid=275765)



I'm thinking of... - SchurmanCQC - 11.08.2011

I'm thinking of creating a translator that will use a C++ plugin that uses the ****** Translate API to translate. I'm hoping to have a native function that looks like the following:

pawn Код:
#define LANG_ENGLISH 1
#define LANG_FRENCH 2
#define LANG_ITALIAN 3//And so on.

native string translateText(text[], langfrom, langto);//Returns the string that has the translated text.
What are your thoughts? Is this possible?


Re: I'm thinking of... - -RaZoR- - 11.08.2011

It's not possible using API


Re: I'm thinking of... - SchurmanCQC - 11.08.2011

Quote:
Originally Posted by -RaZoR-
Посмотреть сообщение
It's not possible using API
I believe you're wrong. I've done some googling and I found out, in fact, it is possible.


Re: I'm thinking of... - -RaZoR- - 11.08.2011

Integrating API into sa-mp? i doubt it if its possible, U can do it with sending the string to ****** web translate and http function


Re: I'm thinking of... - SchurmanCQC - 11.08.2011

Quote:
Originally Posted by -RaZoR-
Посмотреть сообщение
Integrating API into sa-mp? i doubt it if its possible, U can do it with sending the string to ****** web translate and http function
Did you learn to read yet? Oh wait, you're still about 4 years old.

My post says 'A C++ PLUGIN,' how could you not see that?

Don't post on a thread if you don't know what you're talking about.


Re: I'm thinking of... - -RaZoR- - 12.08.2011

Yeah!! I'm 4 yearz coz my post count is 40 ryt? Nice estimate, I'm a c++ programmer, And C++ plugin need to integrate with sa-mp