[CSS] Stop flashlight sound
1 Attachment(s)
Recently I saw many players turning on and off their flashlight very fast (they bound "impulse 100" to their mwheelup / mwheeldown buttons), and by that spamming with the flashlight sound.
Disallowing players to use flashlight is not optional, because we are playing sometimes in dark maps. So I built this simple plugin to stop the sound flashlights broadcasts. Plugin CVARS: Quote:
|
Re: [CSS] Stop flashlight sound
I still have my idea to make a plug for the likeness of antiflood, with time interval
|
Re: [CSS] Stop flashlight sound
You could technically block other sounds in same way too? Such as death sound or jumping sound of other players or func_door sounds?
|
Re: [CSS] Stop flashlight sound
Quote:
you can block almost any sound, except for ambient and Guns sounds. (For ambient sound use HookAmbientSound) |
Re: [CSS] Stop flashlight sound
Here is one for the sprayer, it's annoying too.
PHP Code:
PHP Code:
|
Re: [CSS] Stop flashlight sound
Quote:
|
Re: [CSS] Stop flashlight sound
Quote:
|
Re: [CSS] Stop flashlight sound
Looks good. Approved.
FYI, using FCVAR_REPLICATED can produce errors on the client; you might want to change that. |
Re: [CSS] Stop flashlight sound
Hi.
This plugin not works on my CSS server. Code:
08:50:30 Metamod:Source version 1.10.0-dev Plugin was started with a console command sm plugins load block_flashlight_sound No error messages. Just not works. |
Re: [CSS] Stop flashlight sound
wait does it block sound for everyone or only everyone else except for you?
|
All times are GMT -4. The time now is 12:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.