Raised This Month: $ Target: $400
 0% 

Sounds Overall


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 07-31-2011 , 18:07   Sounds Overall
Reply With Quote #1

I've achieved it somehow before, but I've had to reformat my computer recently due to the infection of gay porn in my C drive. Who is nice enough to help me out?

I need to block the use key sound.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.

Last edited by GXLZPGX; 07-31-2011 at 18:14.
GXLZPGX is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-31-2011 , 18:30   Re: Sounds Overall
Reply With Quote #2

This should do it:

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_forwardFM_EmitSound"FwdEmitSound" );
}

public 
FwdEmitSoundiEntityiChannelszSound[ ], Float:fVolumeFloat:fAttniFlagsiPitch )
{
    if( 
is_user_aliveiEntity ) && equalszSound"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.
bibu is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 07-31-2011 , 18:31   Re: Sounds Overall
Reply With Quote #3

Quote:
Originally Posted by bibu View Post
This should do it:

PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_forwardFM_EmitSound"FwdEmitSound" );
}

public 
FwdEmitSoundiEntityiChannelszSound[ ], Float:fVolumeFloat:fAttniFlagsiPitch )
{
    if( 
is_user_aliveiEntity ) && equalszSound"common/wpn_denyselect.wav" ) )
    {
        return 
FMRES_SUPERCEDE;
    }
    return 
FMRES_IGNORED;

I'm going to have to kiss you if that's right. That looks very familiar.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode