Raised This Month: $ Target: $400
 0% 

Higher volume for certain wav files


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr. Sexy
Senior Member
Join Date: Feb 2011
Old 01-21-2012 , 14:55   Higher volume for certain wav files
Reply With Quote #1

hello
i have little question..
i want to mine countdown wav sounds hear louder.. here is sma

PHP Code:
#include <amxmodx>
#include <amxmisc>
//#include <zombieplague>

#define PLUGIN "[ZP] Countdown"
#define VERSION "1.0"
#define AUTHOR "Mr.Apple"

new countdown
new time_s

public plugin_init() {
register_plugin(PLUGINVERSIONAUTHOR)
register_event("HLTV""event_round_start""a""1=0""2=0")
}

public 
plugin_precache()
{
precache_sound"W2D/countdown/ten.wav" )
precache_sound"W2D/countdown/nine.wav" )
precache_sound"W2D/countdown/eight.wav" )
precache_sound"W2D/countdown/seven.wav" )
precache_sound"W2D/countdown/six.wav" )
precache_sound"W2D/countdown/five.wav" )
precache_sound"W2D/countdown/four.wav" )
precache_sound"W2D/countdown/three.wav" )
precache_sound"W2D/countdown/two.wav" )
precache_sound"W2D/countdown/one.wav" )
}

public 
event_round_start()
{
set_task(4.0"zombie_countdown")
time_s 10
countdown 
9
}

public 
zombie_countdown(id
{  
    new 
speak10 ][] = { "W2D/countdown/one.wav""W2D/countdown/two.wav""W2D/countdown/three.wav""W2D/countdown/four.wav""W2D/countdown/five.wav""W2D/countdown/six.wav""W2D/countdown/seven.wav""W2D/countdown/eight.wav""W2D/countdown/nine.wav""W2D/countdown/ten.wav" 
     
    
emit_sound0CHAN_VOICEspeakcountdown ], 2.0ATTN_NORM0PITCH_NORM 
    
countdown-- 
     
    
set_hudmessage(17900, -1.00.2820.021.00.010.110);  
    
show_hudmessage(0"%i"time_s);  
    --
time_s
     
    if(
time_s >= 1
    { 
        
set_task(1.0"zombie_countdown",0
    } 

but i know something u should edit in this line
PHP Code:
emit_sound0CHAN_VOICEspeakcountdown ], 2.0ATTN_NORM0PITCH_NORM 
anyone help?
Dr. Sexy is offline
 



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 01:19.


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