Raised This Month: $51 Target: $400
 12% 

Map configs bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheHap
Member
Join Date: Feb 2018
Old 05-19-2018 , 14:05   Map configs bug
Reply With Quote #1

Hello,

I have a problem, I added the file /disabled/ folder

and map configs load

sm plugins load disabled/store.smx

if you want it to be open only in jail, the plugin still works when you enter the awp map.
TheHap is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 05-19-2018 , 14:54   Re: Map configs bug
Reply With Quote #2

It's not a bug. SM only loaded the plugin because you told it to load it. If you want to unload it later, you have to do that as well.
Fyren is offline
TheHap
Member
Join Date: Feb 2018
Old 05-19-2018 , 15:05   Re: Map configs bug
Reply With Quote #3

Quote:
Originally Posted by Fyren View Post
It's not a bug. SM only loaded the plugin because you told it to load it. If you want to unload it later, you have to do that as well.
Thanks for the quick response;

if you understand exactly what you mean you can disable the plugin again to give examples in other map configs awp_.cfg dede sm plugins unload disabled / store.smx do I need to do right?
TheHap is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 05-20-2018 , 02:28   Re: Map configs bug
Reply With Quote #4

You could unload the plugin you don't want in each map config you don't want it to run in.

You could unload it in server.cfg since that would run before the per-map configs.

There are also plugins for map-based configs that will let you have a config per map prefix (like, "awp_.cfg" will run on every awp_* map) so you could load/unload there.
Fyren 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 11:06.


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