Post: [C#] Voice Playback
01-09-2015, 08:33 AM #1
Maverick
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU,

Hi seen tools like Scar's and Tyler's that have voice playback so I thought id share how to do it!

Project-Add Reference-Assemblies- Framework- and check System.Speech

You then need to add "using System.Speech.Synthesis;" to the top of your coding like this You must login or register to view this content.

In the button or whatever you want to add the speech to you simply need to add this coding, I use it for when my tool fails to connect but you can make it say anything:
    using (SpeechSynthesizer synth = new SpeechSynthesizer())
{
synth.SetOutputToDefaultAudioDevice();
synth.Speak("Failed to connect");
}


\I hope this helped the people that didn't know how to code this and wanted to know how Happy
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to Maverick for this useful post:

hacking247, Jewels, Pandymodz, XxBlud23xX

The following 2 users groaned at Maverick for this awful post:

Psycedelic, XIUD
01-09-2015, 08:58 AM #2
Nice Work

The following 2 users say thank you to TylerModz for this useful post:

Maverick, ReflexModz
01-11-2015, 03:24 AM #3
Maverick
Climbing up the ladder
When people groan your thread for no reason lmao
01-11-2015, 07:29 AM #4
XIUD
Banned
clearly wrong section XD
01-12-2015, 03:57 AM #5
Jewels
I’m too L33T
Originally posted by XIUD View Post
clearly wrong section XD


He posted in the correct section.
01-12-2015, 05:35 AM #6
XIUD
Banned
Originally posted by JeWeLs View Post
He posted in the correct section.


there is a programing section for a reason

The following user thanked XIUD for this useful post:

One
01-12-2015, 11:54 AM #7
This is good for people to have
01-15-2015, 08:52 AM #8
One
At least I can fight
well it is the wrong section. And if you need a tutorial to do this :fa:
01-15-2015, 05:33 PM #9
Chris
Former Staff
Since this does not only apply to Black Ops 2 Modification, I will move it to the Programming section.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo