Counter-Strike 2

Counter-Strike 2

Not enough ratings
How to bind a key to toggle voice chat.
By Orangutan Hoarder
This guide will show you how to toggle voice chat using a single key. It can be really helpful in 1 vs X situation or if you wanna kill voice chat for whatever reason.
   
Award
Favorite
Favorited
Unfavorite
What this bind will do?
  • You will be able to turn on or off voice chat using the same key.
  • It will send a team message saying whether you have turned on or off voice chat.
  • You will hear one or two beeps whenever you turn on or off voice chat, respectively.
Prerequisite
This guide will use autoexec.cfg. If you don't have autoexec.cfg set up please check a guide or a video on youtube for that.
Steps
  1. Copy the code in the box and paste it in your autoexec.cfg file.
  2. Replace "YourKeyHere" with your desired key. (I use "mouse5")
bind "YourKeyHere" "VoiceDisabled" alias VoiceDisabled "voice_enable 0; echo Voice_Disabled ; say_team Important: I have turned OFF voice chat.; playvol buttons\blip2 0.1; bind "YourKeyHere" "VoiceEnabled" alias VoiceEnabled "voice_enable 1; echo Voice_Enabled; say_team Important: I have turned ON voice chat.; playvol buttons\blip1 0.1; bind "YourKeyHere" "VoiceDisabled"
Result