Raised This Month: $ Target: $400
 0% 

C4 sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
luxkas
Member
Join Date: Jun 2008
Location: Lithuania
Old 09-01-2008 , 08:27   C4 sound
Reply With Quote #1

How put new myself c4 remaining time sounds? And all players downloads it.
luxkas is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 09-01-2008 , 13:02   Re: C4 sound
Reply With Quote #2

Look in miscstats. There is the code for countdown...just change de dir and the sounds name and precache them.
__________________

anakin_cstrike is offline
luxkas
Member
Join Date: Jun 2008
Location: Lithuania
Old 09-07-2008 , 04:41   Re: C4 sound
Reply With Quote #3

Okey is c4 timer code how put my sounds?
Quote:
public bombTimer()
{
if (--g_C4Timer > 0)
{
if (BombCountVoice)
{
if (g_C4Timer == 30 || g_C4Timer == 20)
{
new temp[64]

num_to_word(g_C4Timer, temp, 63)
format(temp, 63, "^"vox/%s seconds until explosion^"", temp)
play_sound(temp)
}
else if (g_C4Timer < 11)
{
new temp[64]

num_to_word(g_C4Timer, temp, 63)
format(temp, 63, "^"vox/%s^"", temp)
play_sound(temp)
}
}

Last edited by luxkas; 09-07-2008 at 04:43.
luxkas is offline
Iwon
BANNED
Join Date: Jul 2008
Old 09-07-2008 , 06:54   Re: C4 sound
Reply With Quote #4

PHP Code:
format(temp63"^"vox/%s seconds until explosion^""temp
to
PHP Code:
format(temp63"^"your-wave-here.wav^""temp
Iwon is offline
jiunnwoei2629
BANNED
Join Date: Apr 2008
Old 09-07-2008 , 09:29   Re: C4 sound
Reply With Quote #5

That is no way to write the number of seconds separate audio ?
jiunnwoei2629 is offline
Iwon
BANNED
Join Date: Jul 2008
Old 09-07-2008 , 09:37   Re: C4 sound
Reply With Quote #6

keep the same then
Iwon is offline
luxkas
Member
Join Date: Jun 2008
Location: Lithuania
Old 09-07-2008 , 09:55   Re: C4 sound
Reply With Quote #7

But how make this, when i planting a bomb and left 30 second play my sound when left 20 second again play my sound and so on to remaining 1 second. Im not good scripter...

Last edited by luxkas; 09-07-2008 at 09:59.
luxkas is offline
Iwon
BANNED
Join Date: Jul 2008
Old 09-07-2008 , 17:23   Re: C4 sound
Reply With Quote #8

PHP Code:
if (g_C4Timer == 30 )
            {
                new 
temp[64]
                
                
num_to_word(g_C4Timertemp63)
                
format(temp63"^"30.wav^""temp)
                
play_sound(temp)
            }
            else if (
g_C4Timer 20)
            {
                new 
temp[64]
                
                
num_to_word(g_C4Timertemp63)
                
format(temp63"^"20.mp3^""temp)
                
play_sound(temp)
            }
            else if (
g_C4Timer 11)
            {
            { 
Iwon is offline
jiunnwoei2629
BANNED
Join Date: Apr 2008
Old 09-08-2008 , 09:15   Re: C4 sound
Reply With Quote #9

This is the AMXMODX Original?
jiunnwoei2629 is offline
Iwon
BANNED
Join Date: Jul 2008
Old 09-08-2008 , 13:42   Re: C4 sound
Reply With Quote #10

yes 1.8.1
Iwon 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 11:27.


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