Admin Manager
Current Version: 0.1
What does this do? By itself, not much. It loads admins from a file (addons\admin\cfg\users.ini) and allows other plugins to access them quite easily. How do I install it? You need to download and Install SourceMM. Next, set it up like a normal plugin. Now you have to consult whatever plugin(s) you are using it with, and determine what flags you want each person to have. Open up addons\admin\cfg\users.ini, and edit the file to your liking. Where do I get it? Windows Linux Source Okay, So I'm a plugin developer, how do I use it? It exports an interface, "AdminManager". You must get a pointer to this in AllPluginsLoaded() Code:
void MyPlugin::AllPluginsLoaded() Once that function has been added, use addListener() to add your plugin to the admin manager. Code:
mAdminManager->addListener((ISteamidListener*)this); |
All times are GMT -4. The time now is 09:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.