Raised This Month: $ Target: $400
 0% 

[SOLVED] Server Exec Config file and map configs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-14-2015 , 01:25   Re: [HELP] Server Exec Config file and map configs
Reply With Quote #1

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)


Last edited by Depresie; 09-14-2015 at 01:56.
Depresie is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode