Blocking bullet hit sound
Hi
When a player is hit by a gunshot, 2 sounds are emit, and one of them is "weapons/bullet_hit1.wav". How do I block this sound from being play? |
Re: Blocking bullet hit sound
remove the emit line?^^ anyway post the code so everyone can help you
|
Re: Blocking bullet hit sound
Code:
#include amxmodx |
Re: Blocking bullet hit sound
@bat:That is the first thing I did, and since it failed I post it here for help. BTW, the sound path does not contain "sound"
|
Re: Blocking bullet hit sound
I think that sound is client side so you can't block it with FM_EmitSound
|
Re: Blocking bullet hit sound
Is there any way to block it from emitting via powerful module like orpheu/okapi/rage?
|
Re: Blocking bullet hit sound
Quote:
|
Re: Blocking bullet hit sound
You will need to block shooting entirely, then write the code which will do exactly the same, but without sounds... I know it's stupid, but I don't know any other way around.
|
Re: Blocking bullet hit sound
^The only thing I'm avoiding, though I did it anyway:). I use UpdateClientData and playback_event to preserve traceattack, and it works, with the cost of weapon sound and dynamic crosshair. So anyone have info about volume, pitch and attenuation of cs weapon sound?
|
Re: Blocking bullet hit sound
I think I saw someone posting a table with those values, although I am not entirely sure.
|
| All times are GMT -4. The time now is 15:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.