View Single Post
Fearer
New Member
Join Date: Jun 2011
Old 03-31-2012 , 16:42   Re: [HELP] Different Plugins per map...
Reply With Quote #3

Quote:
Originally Posted by MasterOfTheXP View Post
Try making some configs for maps you want to disable the plugin on. Like, if you wanted to disable on a map named map_01, you would make a new config in cstrike/cfgs/ named map_01.cfg. In that, you can place commands you want to execute on that map, in your case sm plugins unload <pluginname>

If that doesn't work, you could always edit the source of the plugin to check if the server is currently running a certain map, and to unload itself or refuse to do anything on that map.
I'll try the first option.

Imagine the map is: aim_redline

Where should I put the aim_redline.cfg ? cstrike/cfg ?

And will this new .cfg file a priority? I mean will the commands in this file overwrite all commands in any other .cfg files?
Fearer is offline