Raised This Month: $32 Target: $400
 8% 

Solved [L4D2] Mute the music of the Tank and the Witch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 03-10-2023 , 12:08   [L4D2] Mute the music of the Tank and the Witch
Reply With Quote #1

Hello, I wanted to request a plugin that serves to silence the music of the tank and the witch for all players. Also have cvars please, thank you.
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382

Last edited by Tank Rush; 03-11-2023 at 18:17.
Tank Rush is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-11-2023 , 05:15   Re: [L4D2] Mute the music of the Tank and the Witch
Reply With Quote #2

Just provide the possible way.

Use left4dhooks functions to stop music when tank spawn

PHP Code:
L4D_StopMusic(client"Event.Tank");
L4D_StopMusic(client"Event.TankMidpoint");
L4D_StopMusic(client"Event.TankBrothers"); 
__________________

Last edited by HarryPotter; 03-11-2023 at 05:17.
HarryPotter is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 03-11-2023 , 07:54   Re: [L4D2] Mute the music of the Tank and the Witch
Reply With Quote #3

Sorry, I don't know how to do it, for some reason I asked someone to make the plugin.
I need it to play in custom campaigns that include music, for example ContraZ or Crash Bandicoot since with the music of the tank and the witch it makes interference and does not let the music of the map be heard.
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 03-11-2023 , 08:59   Re: [L4D2] Mute the music of the Tank and the Witch
Reply With Quote #4

Try
sm_cvar music_manager "0"
in server.cfg

Should disables all music but maybe the custom ones will play.

Just try it out...
__________________
finishlast is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode