Added new "amxx plugins" plugin fail message
This commit is contained in:
@ -266,9 +266,7 @@ int C_Spawn( edict_t *pent ) {
|
||||
memset(g_players[0].flags,-1,sizeof(g_players[0].flags));
|
||||
|
||||
// ###### Load AMX scripts
|
||||
no_module_test = 0;
|
||||
g_plugins.loadPluginsFromFile( get_localinfo("amxx_plugins", "addons/amxmodx/configs/plugins.ini") );
|
||||
no_module_test = 0;
|
||||
|
||||
// Register forwards
|
||||
FF_PluginInit = registerForward("plugin_init", ET_IGNORE, FP_DONE);
|
||||
@ -448,7 +446,6 @@ void C_ServerDeactivate_Post() {
|
||||
// pft that's not really a hack
|
||||
g_FakeMeta.m_Plugins.begin()->GetDllFuncTable().pfnSpawn = C_Spawn;
|
||||
|
||||
no_module_test = 0;
|
||||
detachReloadModules();
|
||||
g_auth.clear();
|
||||
g_forwards.clear();
|
||||
|
Reference in New Issue
Block a user