hi
i want to write my own pluginscmdmenu.
there are 2 ways to catch the plgins which are running on my main plugin :
1. add an own plugin.ini file and read the plugin names and pluginnums there.
2. catch all plugins (get_pluginsnum()) and check if the name of plugins begins with xxxx (Jail-Break).
so which way is the best way and need a little help in both cases.
or maybe anyone has a better Idea?
what i want to do :
Imagin we have 1 Main-Plugin & 2 Sub-Plugins
in Main plugin we have a Main menu ( register_clcmd("say menu","lol") )
the main menu will be do a while between all plugins ( Jail plugins "which i have to catch" ) and asks for a native or something like this t show the menu.
in sub-plugin1 we have for example : Menu_name[33] << Freedaymenu
in sub-plugin2 we have for example : Menu_name[33] << Jaildirector
in the menu ( main-plugin ) we should have 2 Items :
Code:
1. Freedaymenu
2. Jaildirector
0. Exit
something like this....
i hope you understand what i need
__________________