16 lines
285 B
Text
16 lines
285 B
Text
--@name tts
|
|
--@author Niko
|
|
--@shared
|
|
--@include gtts.txt
|
|
|
|
require("gtts.txt")
|
|
if SERVER then
|
|
local play = TTS(owner(),"ru",1)
|
|
play:setLFO(true)
|
|
|
|
hook.add("PlayerSay","",function(ply,str)
|
|
if ply == owner() then
|
|
play:say(str)
|
|
end
|
|
end)
|
|
end
|