AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Stop specific mp3 or wav file... (https://forums.alliedmods.net/showthread.php?t=262931)

BaD CopY 05-15-2015 17:08

Stop specific mp3 or wav file...
 
Can anyone help me to stop specific .mp3 or .wav file to all players when round end or when round start...

Xionic 05-15-2015 17:27

Re: Stop specific mp3 or wav file...
 
So you have a plugin that plays a soundtrack all the round, and you want to stop the music when round ends?

BaD CopY 05-15-2015 17:32

Re: Stop specific mp3 or wav file...
 
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) ???

Xionic 05-15-2015 20:44

Re: Stop specific mp3 or wav file...
 
Put the source here !

BaD CopY 05-16-2015 04:13

Re: Stop specific mp3 or wav file...
 
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...

Kia 05-16-2015 10:17

Re: Stop specific mp3 or wav file...
 
Quote:

Originally Posted by BaD CopY (Post 2297242)
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.

mohsen9010 05-16-2015 10:18

Re: Stop specific mp3 or wav file...
 
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

indraraj striker 05-16-2015 14:54

Re: Stop specific mp3 or wav file...
 
Quote:

Originally Posted by Kia (Post 2297368)
Only if you use emit_sound.

may by this ?
set task and stop the sound
PHP Code:

client_cmdid"stopsound" ); 


Kia 05-16-2015 15:03

Re: Stop specific mp3 or wav file...
 
This would stop all sounds, he just wants to stop one.


All times are GMT -4. The time now is 20:02.

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