This plugin adds three things:
1.) A forward: OnCategoryReady() which is called once categories are ready to be set.
2.) A native: SetPluginCategory(Handle:plugin,const String:category[],maxsize) which sets the plugin's category (Fairly self explanatory).
3.) A command: sm_plugins_list which supports these categories by default: all (which displays all plugins, regardless of category) and misc (which displays all uncategorized plugins).
Note: This was something I just quickly whipped up, there will likely be bugs, issues, and the code is not incredibly optimized (although in this case that isn't as much of an issue)
Note2: This has not been tested ingame yet, only in server console.
Attached Files



Wyświetl pełny artykuł