This was tested only on CS:GO & CentOS 7.2
- System2 Extension
- Late Downloads Extension
- Lame installed (
yum install lame
orapt-get install lame
)
- Clone(/Download) the repo and upload the smx to your sm plugins folder.
- Refresh the plugins.
- sm_getSound <lang> <file name without .mp3> <text> -> Download Server & Connected clients the sound.
- sm_playLast -> Play the last downloaded sound.
- Downloads the .mp3 file from google TTS API
- Convert it to the right Sample Rate
- Make clients to download it
- Move mp3 files to fastdl.