View Single Post
07-02-11, 08:36 AM   #12
litesung
A Flamescale Wyrmkin
 
litesung's Avatar
Join Date: Aug 2010
Posts: 130
Originally Posted by Nibelheim View Post
This should work:

Code:
/run local c = "Sound_EnableAllSound"; local s = GetCVar(c) or "0"; if s == "1" then SetCVar(c, "0") else SetCVar(c, "1") end
Originally Posted by SDPhantom View Post
or more efficiently...
Code:
/run Sound_ToggleMusic();Sound_ToggleSound();
These two work perfectly

I tried them both, Nib's is silent (no notification), and Phantom's notifies you "Sound Effects Enabled/Disabled" message.

THANK YOU EVERYONE! Hopefully no future patches break these.
  Reply With Quote