View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-28-2017 , 15:51   Re: Chat Manager [Admin Prefix & Color Chat]
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
I was thinking of something like that, but when I thought about additional plugins-something.ini files, I gave up on the idea. There's probably a way to check if the plugin is last by using get_plugins functions.
You can check my Auto Plugin Adder to see a way to also handle all this files. I may edit the above function and handle the other cases, if I find time.

I am not sure how AMXX handles plugins internally, but if it simply gives them indexes from 0 to maxplugins, then retrieving current plugins index and using get_pluginsnum may do the trick. You could test.
__________________

Last edited by HamletEagle; 05-28-2017 at 15:52.
HamletEagle is offline