- fixed a bug where OnConfigsExecuted() could be ran before OnAllPluginsLoaded()
- added new commands for amb1036, war mode - fixed a bug in the admin menu --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401636
This commit is contained in:
@@ -73,7 +73,7 @@ public OnPluginStart()
|
||||
hOnAdminMenuCreated = CreateGlobalForward("OnAdminMenuCreated", ET_Ignore, Param_Cell);
|
||||
hOnAdminMenuReady = CreateGlobalForward("OnAdminMenuReady", ET_Ignore, Param_Cell);
|
||||
|
||||
RegAdminCmd("sm_admin", Command_DisplayMenu, ADMFLAG_GENERIC, "sm_admin");
|
||||
RegAdminCmd("sm_admin", Command_DisplayMenu, ADMFLAG_GENERIC, "Displays the admin menu");
|
||||
}
|
||||
|
||||
public OnConfigsExecuted()
|
||||
|
||||
@@ -164,7 +164,9 @@ forward OnConfigsExecuted();
|
||||
forward OnServerCfg();
|
||||
|
||||
/**
|
||||
* Called after all plugins have been loaded.
|
||||
* Called after all plugins have been loaded. This is called once for
|
||||
* every plugin. If a plugin late loads, it will be called immediately
|
||||
* after OnPluginStart().
|
||||
*/
|
||||
forward OnAllPluginsLoaded();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user