Quote:
Originally Posted by vodka00
Here is one for the sprayer, it's annoying too.
PHP Code:
if (StrEqual(sample, "player/sprayer.wav", false)) return Plugin_Stop;
but for some reason I can't get these to work, would these sounds be part of guns?
PHP Code:
if (StrEqual(sample, "weapons/ClipEmpty_Pistol.wav", false)) return Plugin_Stop; if (StrEqual(sample, "weapons/ClipEmpty_Rifle.wav", false)) return Plugin_Stop;
|
For the other 2 hooks, you need to use AddAmbientSoundHook() .
__________________