Is there any way I can have the server execute a specific cfg file when the server changes to a specific map?
I’m running a server that plays on a single map (de_dolls) 24/7, however people can do a map vote and change to a different map temporarily. I’m currently running the time limit at 1 day, but I’d like for it to be shorter on every map except de_dolls.
I know you can do it in other source games, but I can’t get it to work with Garry’s Mod. I tried making de_dolls.cfg and put it in the cfg folder, but to no avail. I also tried in maps and maps/cfg, but neither of those worked.
I looked at the hooks and functions on the wiki and couldn’t find anything that would run when the server loads a map.
Any help is greatly appreciated.