If you've grown tired of all of the people spamming insane stuff over the mic, you could use:
voice_enable 0 | 1
and bind both of those to individual keys. However, in CS:GO, there is a neat little function called
incrementvar
This command, as the name might give away, increments a variable and sets that value. How it works? It has four variables that have to be set:
incrementvar command minValue maxValue incrementsBy
As incrementvar is obviously needed and command is pretty self explanatory, let's go right ahead and walk through the rest of it.
Read more…