Quote:
Originally Posted by kp3t3h
btw, why would you want to start a plugin from another plugin
why dont you just enable both from the beginning
|
Because in the beginning it does not exist. And in the original version of the plugin file will be named at random.
Well, i understood. I cant' start this from another plugin.
So we have to
1. Create plugin file
2. Add this plugin to plugins.ini
2.1 Add a lint with new plugin name to amxx.cfg to find it after server restart.
3. Restart server map.
3.1 Read line with plugin name from amxx.cfg and save it in memory.
3.2 Remove line with plugin name from amxx.cfg
4. Remove plugin from plugins.ini
5. Delete plugin file. That's strange, but it will not crash.