GetTtsPreset
getTtsPreset
AVAILABLE SINCE UPDATE 0.1.7
This function is available since G1R:MP 0.1.7.
Reads one resource-owned preset configuration.
Syntax
table|nil|false getTtsPreset(string name)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name |
string |
yes | Resource-private identifier: 1–64 ASCII letters, digits, underscores or hyphens; case-sensitive. |
Returns
The configuration table, nil if no profile has that name, or false, reason for an invalid request.
Notes
- Server-side only. Available since 0.1.7.
- See Server TTS, TTS configuration and TTS voices for installation, options, ownership, cache and examples.
- Invalid requests return false, reason. Profiles, jobs and playback handles belong to the calling resource; do not use handles from another resource or a previous resource lifetime.