Raised This Month: $32 Target: $400
 8% 

[ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)


Post New Thread Reply   
 
Thread Tools Display Modes
Svyatoslav
Junior Member
Join Date: Aug 2016
Old 03-06-2018 , 12:16   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #31

[QUOTE=Agent Wesker;2580291]Not sure what the problem is, can you describe it?

OK. Perhaps this is provided by your plugin, but when I change the volume of the sound in the menu, the volume changes only after changing the sound source. That is, if you look at the video there it is clear that I change the volume level but the volume does not change until I switch the music. And so every time. You must switch the melody to change the volume level. Turning off the melody occurs instantly

Last edited by Svyatoslav; 03-06-2018 at 12:16.
Svyatoslav is offline
Agent Wesker
Senior Member
Join Date: Apr 2012
Old 03-06-2018 , 13:54   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #32

Quote:
Originally Posted by Svyatoslav View Post
Quote:
Originally Posted by Agent Wesker View Post
Not sure what the problem is, can you describe it?
OK. Perhaps this is provided by your plugin, but when I change the volume of the sound in the menu, the volume changes only after changing the sound source. That is, if you look at the video there it is clear that I change the volume level but the volume does not change until I switch the music. And so every time. You must switch the melody to change the volume level. Turning off the melody occurs instantly
The sound volume is set when it begins to play
https://sm.alliedmods.net/new-api/sd...EmitSoundToAll

As far as I know there is no way to adjust this in real time, you must wait until the next sound.

Last edited by Agent Wesker; 03-06-2018 at 13:55.
Agent Wesker is offline
Svyatoslav
Junior Member
Join Date: Aug 2016
Old 03-06-2018 , 23:58   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #33

Quote:
Originally Posted by Agent Wesker View Post
The sound volume is set when it begins to play
https://sm.alliedmods.net/new-api/sd...EmitSoundToAll

As far as I know there is no way to adjust this in real time, you must wait until the next sound.

OK, no problems. But in one of the previous versions of the plugin, the sound was immediately reduced, but with it the volume of the voice chat decreased.

Last edited by Svyatoslav; 03-06-2018 at 23:59.
Svyatoslav is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 04-25-2018 , 07:45   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #34

is it possible to make music off by default?
iGANGNAM is offline
UartigZone
Member
Join Date: Jan 2013
Location: Denmark
Old 01-01-2019 , 17:20   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #35

Still working great!
UartigZone is offline
Send a message via Skype™ to UartigZone
Miguel100
Member
Join Date: Oct 2010
Location: Portugal
Old 02-11-2019 , 16:31   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #36

Anybody know why is this happening?


http://prntscr.com/mjrr50


Game is Counter-Strike: Source


Cheers
Miguel100 is offline
Zoremer
Junior Member
Join Date: Apr 2019
Old 08-03-2019 , 08:26   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #37

I appreciate a lot the hard work you have done with this excellent plugin. So thank you a lot!

To make it even more perfect I report that I found a couple of bugs:

In ze_ELEVATOR_escape_p3 the alarm sound that beeps at the start gets bugged when the plugin is activated (even if no command is used) and half of the beep keeps repeating until the end of the map.

In ze_Mirrors_Edge_Reborn_p3 when this plugin is activated (even if no command is used) songs are not played when playing in difficulty Easy and Normal.

Probably there are other issues in other maps but at the moment this is all I could find. I'm running it on a Windows server on CS:GO.

If you could take a look into it, it would be great!
Thank you!
Zoremer is offline
Rineek
Member
Join Date: Jan 2018
Old 08-13-2019 , 01:22   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #38

There are maps where you press button and music starts.
If I use sm_stopmusic music stop, but If someone press another button or same button music starts again
Rineek is offline
Allower
Senior Member
Join Date: Sep 2013
Location: SourceEngine
Old 03-15-2020 , 13:28   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #39

Quote:
Originally Posted by Et3rnity View Post
How to set default volume when new client is connected? Ex: 25%
Yes, i want it too! Please.

Also, every time i have this in my client console:
Code:
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
__________________

Last edited by Allower; 03-15-2020 at 13:29. Reason: fix
Allower is offline
bklol
Member
Join Date: May 2019
Location: on my chair
Old 06-24-2020 , 09:50   Re: [ANY] Toggle Music & Volume Control (3.7.8, 2017-11-21)
Reply With Quote #40

Quote:
Originally Posted by Allower View Post
Yes, i want it too! Please.

Also, every time i have this in my client console:
Code:
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
Unknown command: snd_setsoundparam
you can change it in line 196
Attached Files
File Type: sp Get Plugin or Get Source (togglemusic_dhook.sp - 203 views - 20.9 KB)
bklol is offline
Reply


Thread Tools
Display Modes

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 03:18.


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