Optional Include
Is it possible to make optional #include? Load/unload the include depending on cvar..
I have some sub plugins that uses native from other plugin. Sometimes I may want to disable the plugin but doing so will cause all the sub plugins fail to run |
Re: Optional Include
You can not load includes at run-time because they are compiled into the plugin. The only way to conditionally 'load\unload' an include is with pre-compiler directives (which occurs when you compile the plugin).
Code:
|
Re: Optional Include
Oh. hm that's not cool. Looks like Im gonna have to recompile all the plugins that use the native
|
Re: Optional Include
Quote:
|
| All times are GMT -4. The time now is 01:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.