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

[req] a plugin should deactivate on certain maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fragkiller
Member
Join Date: Jun 2012
Old 07-09-2014 , 15:46   [req] a plugin should deactivate on certain maps
Reply With Quote #1

hey guys, could someone maybe modify this code that it will create a .txt file or whatever (kinda blacklist) where i can write down the mapname in each line which disables the main function of the plugin when the map is being played.

Thanks

Last edited by Fragkiller; 07-10-2014 at 08:44.
Fragkiller is offline
Donski
Senior Member
Join Date: Sep 2012
Old 07-09-2014 , 15:52   Re: [req] a plugin should deactivate on certain maps
Reply With Quote #2

Couldn't you just create a <mapname>.cfg and put sm plugins unload pluginname inside?

Last edited by Donski; 07-09-2014 at 15:52.
Donski is offline
Fragkiller
Member
Join Date: Jun 2012
Old 07-09-2014 , 15:57   Re: [req] a plugin should deactivate on certain maps
Reply With Quote #3

Quote:
Originally Posted by Donski View Post
Couldn't you just create a <mapname>.cfg and put sm plugins unload pluginname inside?
Would be possible, but it would take probably more time to create for every map which shouldnt run this plugin the .cfg file.

Thats why i said it would be cool if i could just use 1 file and add each line the mapname
Fragkiller is offline
SPYderman
Senior Member
Join Date: Aug 2013
Old 07-09-2014 , 16:33   Re: [req] a plugin should deactivate on certain maps
Reply With Quote #4

You could use something like this, probably.
SPYderman 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 19:51.


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