Block NVG Sound?
So i want to remove NVG sound, because when u are dead u can still press and other players will hear that sound when u turn off/on nightvision, so i want to remove it, or add spam protection so you cannot spam that button, i tried with unpreacacher but my whole console i spammed with:
SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) SV_BuildSoundMsg: items/nvg_off.wav not precached (0) |
Re: Block NVG Sound?
unprecacher won't actually stop the sound from playing, it just unprecache it so there is more slot of more custom sounds/models to be precache (because the game have the precache limit of 512)
You have to hook FM_EmitSound then block the sound there Here is the TUT that you can follow: https://forums.alliedmods.net/showthread.php?t=45461 |
Re: Block NVG Sound?
yes i dont understand anything there, is there plugin that will block that sound :/
|
Re: Block NVG Sound?
Untested
PHP Code:
|
Re: Block NVG Sound?
i still can hear sound played after i add this plugin.
|
Re: Block NVG Sound?
Use the ON sound. The OFF sound is more like a scope click.
|
Re: Block NVG Sound?
I updated the code on previous post. Can you check it?
|
Re: Block NVG Sound?
still not working
|
| All times are GMT -4. The time now is 08:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.