Raised This Month: $51 Target: $400
 12% 

CS:S Automate 'sv_alltalk' Command in certain maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PowerBIGuy
New Member
Join Date: Jan 2024
Old 01-13-2024 , 12:24   CS:S Automate 'sv_alltalk' Command in certain maps
Reply With Quote #1

Hi everyone,

I'm an admin on a CS Source server with a diverse map pool. I often use the `sv_alltalk` command to enable communication across teams, regardless of whether players are alive or dead. For competitive maps, I set `sv_alltalk 0` to maintain team privacy during matches.

I'm looking to automate this setting based on the map prefix. For instance, if a map starts with "de_" (defuse map), I want to keep `sv_alltalk` at `0`. For other prefixes like "cs_", "awp", "aim", "he", etc., I'd like it set to `1`. This automation would save me the hassle of manually adjusting settings via rcon for each map change.

Does anyone have experience with this or can offer a script or plugin solution?

Thanks in advance for any assistance!
PowerBIGuy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-13-2024 , 12:41   Re: CS:S Automate 'sv_alltalk' Command in certain maps
Reply With Quote #2

https://www.sourcemod.net/plugins.ph...tion=&search=1

for example, Extended Map configs
Code:
...cfg/mapconfig/gametype/de.cfg
sv_alltalk 0

and maybe in ...cfg/server.cfg you can set sv_alltalk 1
__________________
Do not Private Message @me
Bacardi 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 09:05.


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