View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-17-2021 , 23:09   Re: Timelimit / server.cfg not load.
Reply With Quote #6

It sounds like you may be using LinuxGSM because it sets the default config file for Counter-Strike 1.6 to csserver.cfg (this custom server config file name is set in the command line with +servercfgfile when the server is started). So, if this is the case, you need to use csserver.cfg as you were originally instructed and not server.cfg. You can verify by checking the value of the servercfgfile cvar in your server's console (via your control panel, HLSW, or amx_cvar).

The above is for the file that is executed only when the server is first started. However, there is another cvar that you can set for a file that you would like to execute on every map change and it's called mapchangecfgfile. So, in your csserver.cfg file, you can set:

Code:
mapchangecfgfile "myMapChangeConfig.cfg"
This will cause myMapChangeConfig.cfg to be executed on every map change.

Generally, I recommend keeping HLDS cvars in this mapchangecfgfile (and not putting them in amxx.cfg) and only put AMX Mod X plugin cvars in amxx.cfg (when possible).
__________________

Last edited by fysiks; 03-17-2021 at 23:11.
fysiks is offline