Hi ,
I was wondering if there's any way to remove the startround sound .
I deleted it from the gamemodes/terrortown/content/sound/ folder but the sound still plays at the start of each round.
TIA
You are probably using a lua script to play the end round music, you should check your lua/autorun/server directory.
That is clientside checkbox. Press F1 and go to settings.
[QUOTE=Ludicium;40303981]That is clientside checkbox. Press F1 and go to settings.[/QUOTE]
thx is there a way i can turn it off for them by creating a script?
This is for a server right?
Why would you want to do that? If a client wants them off they can do it themselves.
But if you really do want to get rid of them: The fastest way would be to comment out lines 156-164 of cl_init.lua
I suppose you could make a script to set the convar value of ttt_cl_soundcues to 0. I think this would work.
[lua]
local function silenceSoundCues( _player )
if IsValid(_player) then
_player:ConCommand("ttt_cl_soundcues 0")
end
end
hook.Add("PlayerAuthed", "Defaults ttt_cl_soundcues to 0 On player auth", silenceSoundCues )
[/lua]
[QUOTE=Ludicium;40307484]This is for a server right?
Why would you want to do that? If a client wants them off they can do it themselves.
But if you really do want to get rid of them: The fastest way would be to[B] comment out lines 156-164 of cl_init.lua[/B]
I suppose you could make a script to set the convar value of ttt_cl_soundcues to 0. I think this would work.
[/QUOTE]
Thx that worked
Sorry, you need to Log In to post a reply to this thread.