This should do it:
PHP Code:
#include <amxmodx>
#include <fakemeta>
public plugin_init()
{
register_forward( FM_EmitSound, "FwdEmitSound" );
}
public FwdEmitSound( iEntity, iChannel, szSound[ ], Float:fVolume, Float:fAttn, iFlags, iPitch )
{
if( is_user_alive( iEntity ) && equal( szSound, "common/wpn_denyselect.wav" ) )
{
return FMRES_SUPERCEDE;
}
return FMRES_IGNORED;
}
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.