finding plugin without looping
is it possible to find a specific plugin that is loaded on the server without looping through the other plugins?
like doing this but without having to go through the other plugins PHP Code:
|
Re: finding plugin without looping
Hum...use this to get the "wanted" plugin index : http://www.amxmodx.org/funcwiki.php?go=func&id=627 , then use this to get the info about plugin : http://www.amxmodx.org/funcwiki.php?go=func&id=225 . Hope you get it...
|
Re: finding plugin without looping
|
Re: finding plugin without looping
what if i dunno the plugin file name? thats why i was checking for the plugin name instead of the plugin file name
|
Re: finding plugin without looping
In this case you CAN'T. But why not looping through all plugins? o.O i don't get it :|
|
Re: finding plugin without looping
i dunno... i dont like loops, they scare me! LOL
|
Re: finding plugin without looping
It would be easier if you told us what you need it for.
|
Re: finding plugin without looping
just to see if a certain plugin is loaded and if it is, turn off a feature within this plugin (the one detecting the other plugin) because it doesn't need it as the other plugin has it already.
|
Re: finding plugin without looping
Do the loop.
|
Re: finding plugin without looping
If you don't know the plugin's name, how are you supposed to know if it is loaded?
Your loop also requires that you know its name ;-) |
| All times are GMT -4. The time now is 01:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.