Load plugin with my plugin
How can i load a new plugin using mine?
Example, if i want to check time and if is days, loads x plugin. Else if is night, loads y plugin. I tried to search, but if i use "plugin" as keyword, it gets stuck and dont find results :| |
Re: Load plugin with my plugin
You can use cRON, which will be run script in needed time, which be edit "plugins.ini" file (add/remove plugins).
|
Re: Load plugin with my plugin
use server commands:
Code:
amxx pause/unpause "pluginname.amxx" |
Re: Load plugin with my plugin
Isnt possible to do what i asked?
|
Re: Load plugin with my plugin
When your plugin is loaded, it is too late to load or not other plugins, so no, what you ask is not possible.
You can for example, at plugin_end(), write content of plugins-nightday.ini, and according to time, copy in it content of day.ini or night.ini |
Re: Load plugin with my plugin
look in fyskis's polymorph plugin.
it 'plays' with plugins.ini file :) @LordOfNothing: useless post, not any plugin has an main cvar for enable |
| All times are GMT -4. The time now is 23:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.