Raised This Month: $ Target: $400
 0% 

[SOLVED] Server Exec Config file and map configs


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 09-14-2015 , 00:30   [SOLVED] Server Exec Config file and map configs
Reply With Quote #1

So i have this little function which is reloading the default zombieplague.cfg
Now the problem is that i have different config files for every map, which contains a couple different cvar settubgs from the zombieplague.cfg

How can i load not only the zombieplague.cfg but and the config file for the map playing on ?

PHP Code:
public function()
{
    
// Setting The lighting Settings as before the Mode.
    
new cfgdir[32]
    
get_configsdir(cfgdircharsmax(cfgdir))

    
server_cmd("exec %s/zombieplague.cfg"cfgdir)


Last edited by Depresie; 09-14-2015 at 11:47.
Depresie is offline
 



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