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

Stop specific mp3 or wav file...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 05-15-2015 , 17:08   Stop specific mp3 or wav file...
Reply With Quote #1

Can anyone help me to stop specific .mp3 or .wav file to all players when round end or when round start...
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
Xionic
Member
Join Date: Apr 2015
Location: Bucharest
Old 05-15-2015 , 17:27   Re: Stop specific mp3 or wav file...
Reply With Quote #2

So you have a plugin that plays a soundtrack all the round, and you want to stop the music when round ends?
Xionic is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 05-15-2015 , 17:32   Re: Stop specific mp3 or wav file...
Reply With Quote #3

I just want an example to stop mp3 or wav files.

To start sound (mp3): client_cmd(id, "mp3 play %s", sound)
To stop sound (mp3): client_cmd(id, "mp3 stop %s, sound) ???
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
Xionic
Member
Join Date: Apr 2015
Location: Bucharest
Old 05-15-2015 , 20:44   Re: Stop specific mp3 or wav file...
Reply With Quote #4

Put the source here !
Xionic is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 05-16-2015 , 04:13   Re: Stop specific mp3 or wav file...
Reply With Quote #5

You don't need my source code... I just want to know is possisible to stop mp3 file, not all files, just to stop one specific mp3 or wav fileeee...
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-16-2015 , 10:17   Re: Stop specific mp3 or wav file...
Reply With Quote #6

Quote:
Originally Posted by BaD CopY View Post
You don't need my source code... I just want to know is possisible to stop mp3 file, not all files, just to stop one specific mp3 or wav fileeee...
Only if you use emit_sound.
__________________
Kia is offline
mohsen9010
Senior Member
Join Date: Jun 2011
Location: Iran
Old 05-16-2015 , 10:18   Re: Stop specific mp3 or wav file...
Reply With Quote #7

maybe : https://forums.alliedmods.net/showthread.php?p=499872 or https://forums.alliedmods.net/showth...?t=6784?t=6784 or https://forums.alliedmods.net/showthread.php?p=638940
__________________
Iman in Allah

Last edited by mohsen9010; 05-16-2015 at 10:20.
mohsen9010 is offline
Send a message via Yahoo to mohsen9010 Send a message via Skype™ to mohsen9010
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-16-2015 , 14:54   Re: Stop specific mp3 or wav file...
Reply With Quote #8

Quote:
Originally Posted by Kia View Post
Only if you use emit_sound.
may by this ?
set task and stop the sound
PHP Code:
client_cmdid"stopsound" ); 
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 05-16-2015 , 15:03   Re: Stop specific mp3 or wav file...
Reply With Quote #9

This would stop all sounds, he just wants to stop one.
__________________
Kia 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 13:01.


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