Raised This Month: $51 Target: $400
 12% 

E Sound Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 04-02-2023 , 12:24   E Sound Plugin
Reply With Quote #1

Hello Every one QuickDroLLL Here so basicly iam asking is there any plugin that change E sound effect when prees e it will sound apear is there any plugin change that sound thank you for reading my topic
QuickDroLLL is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 04-05-2023 , 20:17   Re: E Sound Plugin
Reply With Quote #2

Hey QuickDroLLL what is E sound effect thanks
__________________
bigdaddy424 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 04-06-2023 , 01:21   Re: E Sound Plugin
Reply With Quote #3

Take a look:

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

new const g_szCustomSound[] = "sound/beep.wav"

public plugin_init() 
{
    
register_plugin("E Button Sound Replacer""1.0""Author")
    
    
register_forward(FM_EmitSound"EmitSound"
}

public 
plugin_precache() 
{
    
precache_sound(g_szCustomSound)
}

public 
EmitSound(idiChannelszSample[])

    if((
equal(szSample"common/wpn_denyselect.wav"))) 
    {
        
emit_sound(idCHAN_WEAPONg_szCustomSound1.0ATTN_NORM0PITCH_NORM)
        return 
FMRES_SUPERCEDE
    
}
    return 
FMRES_IGNORED

__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 04-06-2023 , 21:48   Re: E Sound Plugin
Reply With Quote #4

Quote:
Originally Posted by EFFx View Post
Take a look:

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

new const g_szCustomSound[] = "sound/beep.wav"

public plugin_init() 
{
    
register_plugin("E Button Sound Replacer""1.0""Author")
    
    
register_forward(FM_EmitSound"EmitSound"
}

public 
plugin_precache() 
{
    
precache_sound(g_szCustomSound)
}

public 
EmitSound(idiChannelszSample[])

    if((
equal(szSample"common/wpn_denyselect.wav"))) 
    {
        
emit_sound(idCHAN_WEAPONg_szCustomSound1.0ATTN_NORM0PITCH_NORM)
        return 
FMRES_SUPERCEDE
    
}
    return 
FMRES_IGNORED

Working Perfectly Thank You Very Much
QuickDroLLL 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 08:04.


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