Page 1 of 1
cvars stopping/starting
Posted: Fri Sep 02, 2005 4:57 pm
by GUNN3R17
this is sort of a continuation of my 2 questions i posted awhile ago
i have in addons\amxmodx\configs\maps a cfg for ka lego land
it reads
"amx_cvar 0"
"amx_cvar2 1"
after the map changes it stays that way....how can i get it to automaticly change back to "amx_cvar 1" "amx_cvar2 0" with out having to write a cfg for every single map
Posted: Fri Sep 02, 2005 7:09 pm
by Lazarus Long
Add them the way you want for all other maps to a config file that is called before the map specific config file, for instance server.cfg.
Posted: Sat Sep 03, 2005 12:25 am
by GUNN3R17
didnt work...still had same settings after going on any map that i made a custom congig for.
i also tied putting "mp_startmoney 1000" in the server.cfg and it did not effect it
the only way i was able to change it was to use the amxmodmenu and change it to the preset 3600 i think it is...do any amxx plugins override server cfg?
Posted: Sat Sep 03, 2005 7:04 am
by Lazarus Long
GUNN3R17:
It should work. Maybe your server.cfg isn't being read at each map start.
Check the mapchangecfgfile directive and set it to a file where you want commands for all maps to be read from. It normaly should be set to server.cfg, but you can set it to any .cfg you would like. Then use the "addons/amxmodx/configs/maps/<map name>.cfg" file to override the defaults, since it's read after the file set in mapchangecfgfile.
Regards,
Posted: Tue Sep 06, 2005 12:44 am
by GUNN3R17
ok....mapchangecfgfile is set propperly now...its not by default(for me atleast)
one more question...my server was set to be a secure server but after a day or so it became un-secure
is there a command i can put in the server.cfg to make sure its secure always?
what are the diffirent ways of making a server secure?