So i have a problem. I set up sv_alltalk 3(in server.cfg) so everone can speak to everyone, but sometimes when map changes or server restart it changing back to sv_alltalk 1 How to fix it?
A script is probably overriding the value after your server.cfg is loaded. You can put this in lua/autorun/server:
[code]hook.Add("InitPostEntity", "Alltalk", function()
RunConsoleCommand("sv_alltalk", "3")
end)[/code]
[QUOTE=code_gs;51988774]A script is probably overriding the value after your server.cfg is loaded. You can put this in lua/autorun/server:
[code]hook.Add("InitPostEntity", "Alltalk", function()
RunConsoleCommand("sv_alltalk", "3")
end)[/code][/QUOTE]
TTT itself changes the value of this ConVar in GM:Initialize().
Sorry, you need to Log In to post a reply to this thread.