i dont think you understood what i was trying to say...
i have already created a config file for each map...
each config contains the following cvar -> zp_lighting c/d/e/f etc ( different on every map )
now the problem is that i have a round mode, which is executing the function above at the end of the round ( yes it is needed )
the function above is executing the zombieplague.cfg, which is containing the following cvar -> zp_lighting g
i want the function to execute zombieplague.cfg for the default cvars, and then to execute the map's config file to set the lighting cvar from the map's config
in other words, what i need is something like this->
Code:
server_cmd("exec %s/zombieplague.cfg", cfgdir)
-->
Code:
new map = get current map name
Code:
server_cmd("exec %s/map.cfg", cfgdir)