Resource:TextSpeech

From Multi Theft Auto: Wiki
Revision as of 01:17, 19 February 2012 by X0rh4x (talk | contribs)
Jump to navigation Jump to search

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 functions

Server

boolean
speak
string text, string language, element triggerFor

Client

sound
speak
string text, string language
sound3D
speak3D
string text, string language, float x, float y, float z