Raised This Month: $ Target: $400
 0% 

How to detect MP3Volume change from console and settings ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TBagT
Member
Join Date: Aug 2016
Location: Lithuania
Old 04-25-2018 , 09:25   How to detect MP3Volume change from console and settings ?
Reply With Quote #1

Hello guys,

I was wondering how could I get notified when user changes his MP3Volume setting ? I created a music plugin which allows player to increase volume in a menu. I use query_client_cvar( ) on client_putinserver( ) but if player changes the sound not in the created menu but in console or settings the volume variable doesn't refresh. client_infochange didn't work so I thought maybe there's another way of hooking this ?

Thanks.

Last edited by TBagT; 04-25-2018 at 09:30.
TBagT is offline
 



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:43.


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