Set ClientConVar for client via lua

I have CreateClientConVar( “music”, “1”, true, true ) for those who don’t want to hear the game music, but I’m trying to make a chat command !music that toggles the var, I can’t find the function to set change the var I’ve tried RunConsoleCommand("music 0 ") But that’s not right.



RunConsoleCommand("music", "0")


Wow I feel stupid xD thanks for the help