[Help] Reload sound
Hi. Is there a way to block or replace the reload sound of a weapon?
|
Re: [Help] Reload sound
Hook FM_EmitSound pre.
Search for all the wav sounds containing "load/clip" in your cstrike/czero folder. Make a string list with all those sounds in your plug-in. Inside your EmitSound hook, check with equali. If the sound matches one of the strings, return FMRES_SUPERCEDE. |
Re: [Help] Reload sound
Quote:
|
Re: [Help] Reload sound
Exactly. I can't hook those sounds via EmitSound. I'm trying to make a player absolute invisible, and for this I'm using pev_groupinfo so players cant see each other. The problem is that I can still hear the reload sound and see the bullets that the weapon drops when its fired.
|
Re: [Help] Reload sound
I found the solution to both of my problems:
PHP Code:
|
All times are GMT -4. The time now is 11:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.