Raised This Month: $ Target: $400
 0% 

get_plugin get_pluginnums


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-08-2010 , 02:48   get_plugin get_pluginnums
Reply With Quote #1

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
__________________

Last edited by One; 03-08-2010 at 03:01.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 


Thread Tools
Display Modes

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 08:43.


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