Hey! I’m trying to create a DNumSlider that changes the cvar called voice_scale to let players adjust other players’ voice volume easily from that derma. The problem is that when I try to do this
GetConVar("voice_scale"):SetInt(value)
It says calling ‘SetInt’ on bad self (attempt to modify ConVar not created by Lua)
And if I try
RunConsoleCommand( "voice_scale", value )
It says
RunConsoleCommand: Command is blocked! (voice_scale)
Is there another way I can modify other players’ mic volume?
Thank you!