Resource:TextSpeech: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Resource page}} __NOTOC__ TextSpeech gives you the ability to get spoken text by Google's TextToSpeech. ==Events== '''Note:''' You may have to add the events in your script us...")
(No difference)

Revision as of 02:56, 15 October 2011

TextSpeech gives you the ability to get spoken text by Google's TextToSpeech.

Events

Note: You may have to add the events in your script using addEvent() if you want to use them.

Server

Name Source Parameters
onSpeech triggerFor
string text, string language

Client

onClientSpeech root
string text, string language

Exported Server functions

int
speak
string text, string language, element triggerFor

Exported Client functions

int
speak
string text, string language