Raised This Month: $ Target: $400
 0% 

[SM] Plugin load/unload management


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 06-22-2012 , 11:18   Re: [SM] Plugin load/unload management
Reply With Quote #11

Quote:
Originally Posted by berni View Post
That really depends on your needs. If the plugin was made for servers only running gungame maps, you want to show the serveradmin the reason why the plugin suddenly dissapears from the plugin list on a capturetheflag map.

At least keep sure that the serveradmin knows why the plugin isn't doing anything.
Yeah, it does log a message to the regular logs before it unloads itself.

Whatever, I'll just add in a "operate" bool. It'll check itself OnMapStart, along with the enable cvar. Toggling the enable cvar will only take effect on the next mapchange. The way that the plugin manages rounds is pretty weird, and I don't really want to take any risks.
__________________
Dr. McKay is offline
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 08-07-2012 , 05:52   Re: [SM] Plugin load/unload management
Reply With Quote #12

This is very useful Plugin Manager
__________________
disawar1 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 21:43.


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