View Single Post
Author Message
Mitchell
~lick~
Join Date: Mar 2010
Old 10-06-2013 , 16:25   [CS:GO] Disable Game Sounds (1.3.1)
Reply With Quote #1

CS:GO Disable Round Sounds.
Description:
This plugin removes those annoying long sounds at the begging of the round, and the looped sound after the round starts. I needed this personally cause it was ruining the ambient environment for my gamemode. You could plop this into your server and have another plugin play custom sounds at the begging of the round, just an idea that this plugin would allow you to do.
Small issue with the sound that likes to loop itself, it will play once and then fade; this is because SoundHooks do not work on these sounds (since they are 'clientsided')

You're welcome for finding a fix. I actually found it when looking through cvars, theres a max of the same sound you could play so i played with this and found out that i can stop the sound manually. It just cant use a sound hook on it weirdly.

Version Notes:
1.3.1: Removed most hooks on PRE, added a few different hooks in attempt to remove any left over sounds.
1.3.0: Added hooks for endround, also added Hook_Pre modes and post together.
1.2.0: Uses playgamesound on the clients, alot better than canceling specific sounds every 0.1 seconds.
1.1.0: Removed from gameframe.
1.0.0: initial release.
Attached Files
File Type: sp Get Plugin or Get Source (DisableGameSounds.sp - 8080 views - 1.1 KB)

Last edited by Mitchell; 10-18-2013 at 11:20.
Mitchell is offline