View Single Post
07-01-11, 03:45 PM   #9
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
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
  Reply With Quote