Raised This Month: $ Target: $400
 0% 

Help with activating sound for jb day


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kkdog
Junior Member
Join Date: Jul 2011
Old 10-09-2011 , 02:07   Help with activating sound for jb day
Reply With Quote #1

Alright i tried a million ways to have it so the sound activates when the day is
picked here is a piece of the code.

Code:
}
            client_cmd(0, "spk ^"%s^"", zombiesound);
            msg_create_fog( 0, 255, 0, 2 )
        }
Here are sound directs.
Code:
 new alarm[]             = "sound/misc/alarm.mp3"
new race_go[]             = "sound/jailbreak/race_go.mp3"
new s4ssound[]             = "sound/jailbreak/s4ssound.mp3"
new spartansound[]         = "sound/jailbreak/spartansound.mp3"
new zombiesound[]         = "sound/jailbreak/zombiesound.mp3"

Last edited by kkdog; 10-09-2011 at 02:09.
kkdog is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 10-09-2011 , 02:38   Re: Help with activating sound for jb day
Reply With Quote #2

Quote:
Originally Posted by kkdog View Post
Alright i tried a million ways to have it so the sound activates when the day is
picked here is a piece of the code.

Code:
}
            client_cmd(0, "spk ^"%s^"", zombiesound);
            msg_create_fog( 0, 255, 0, 2 )
        }
Here are sound directs.
Code:
 new alarm[]             = "sound/misc/alarm.mp3"
new race_go[]             = "sound/jailbreak/race_go.mp3"
new s4ssound[]             = "sound/jailbreak/s4ssound.mp3"
new spartansound[]         = "sound/jailbreak/spartansound.mp3"
new zombiesound[]         = "sound/jailbreak/zombiesound.mp3"
Show us all of the code ...
MyPc is offline
kkdog
Junior Member
Join Date: Jul 2011
Old 10-09-2011 , 17:38   Re: Help with activating sound for jb day
Reply With Quote #3

lol your funny dude.
kkdog is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 10-10-2011 , 02:27   Re: Help with activating sound for jb day
Reply With Quote #4

Quote:
Originally Posted by kkdog View Post
lol your funny dude.
So why am i funny ?
It's not like it yours i can see that this is drekes code ..
MyPc is offline
r0ck
Senior Member
Join Date: Jun 2011
Location: India
Old 10-10-2011 , 12:01   Re: Help with activating sound for jb day
Reply With Quote #5

yup cfjail
__________________
Preparing to release my plugins..
r0ck is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 10-10-2011 , 18:10   Re: Help with activating sound for jb day
Reply With Quote #6

He can use my code or anyone else's code as long as he gives proper credits.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-10-2011 , 18:52   Re: Help with activating sound for jb day
Reply With Quote #7

The reason he doesn't want to give the full code is that their community has edited the plugin so much (a lot of it was my doing), to make it ~7k lines of code, as compared to the original 2k lines.

As you can tell, that's a huge difference. if I worked that hard to edit and add features to a plugin, I wouldn't want to release it.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
kkdog
Junior Member
Join Date: Jul 2011
Old 10-11-2011 , 18:40   Re: Help with activating sound for jb day
Reply With Quote #8

So can anyone help me with the sound issue or no?
kkdog is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-11-2011 , 19:47   Re: Help with activating sound for jb day
Reply With Quote #9

mp3 files need to be played using 'mp3 play' command rather than 'spk'.

Change 'spk' in client_cmd to 'mp3 play'
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 10-11-2011 , 20:10   Re: Help with activating sound for jb day
Reply With Quote #10

Quote:
Originally Posted by nikhilgupta345 View Post
mp3 files need to be played using 'mp3 play' command rather than 'spk'.

Change 'spk' in client_cmd to 'mp3 play'
It almost might be in bad quality or not even work.

So you will most likely have to find a program that can covert it to a .wav file and then equalize the quality.
__________________
Hi.
Kreation 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 04:48.


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