Stopping Sounds Via Server

Ever since Update 68, I’ve not be able to use “StopSounds” concommand from the server



	for k,v in pairs(player.GetAll()) do
		v:SetTeam("Team_Hunk")
		v:ConCommand("StopSounds")
		timer.Simple(1,v:ConCommand("PlayFreeMusic"))
	end	


Anybody have a way to get around it?

Use SendLua, or a usermessage.

You could try this:



v:SendLua("LocalPlayer():ConCommand(\"stopsounds\")")

But I think they were both broken in the update.

i just type “stopsounds” in console and it works for me

Its because you run the command on the client, while hes trying to do it in the server. Use usermessages as said above!