17.04.2016, 17:22
Quote:
****** translator if I'm not wrong blocking directly http texts so samp http function can't read the text it's translating, here's a website that would work on samp http( thingy
PHP код:
PHP код:
|
Код:
stock Trans(id,str[]) { new stream[114]; format(stream,sizeof(stream),"http://translate.******.com/translate_tts?ie=UTF-8&total=1&idx=0&textlen=32&client=tw-ob&q=%s&tl=En-gb",str); PlayAudioStreamForPlayer(id,stream); return 1; }