mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45:36 +03:00
fixed modules problems when declared also in metamod's plugins.ini
This commit is contained in:
parent
820fedca22
commit
77c5198009
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
||||
|
||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||
{
|
||||
if ( gpGamedllFuncs ){
|
||||
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
if(now > Plugin_info.loadable) {
|
||||
LOG_ERROR(PLID, "Can't load module right now");
|
||||
return(FALSE);
|
||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
||||
|
||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||
{
|
||||
if ( gpGamedllFuncs ){
|
||||
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
if(now > Plugin_info.loadable) {
|
||||
LOG_ERROR(PLID, "Can't load module right now");
|
||||
return(FALSE);
|
||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
||||
|
||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||
{
|
||||
if ( gpGamedllFuncs ){
|
||||
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
if(now > Plugin_info.loadable) {
|
||||
LOG_ERROR(PLID, "Can't load module right now");
|
||||
return(FALSE);
|
||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
||||
|
||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||
{
|
||||
if ( gpGamedllFuncs ){
|
||||
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
if(now > Plugin_info.loadable) {
|
||||
LOG_ERROR(PLID, "Can't load module right now");
|
||||
return(FALSE);
|
||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
||||
|
||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||
{
|
||||
if ( gpGamedllFuncs ){
|
||||
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
if(now > Plugin_info.loadable) {
|
||||
LOG_ERROR(PLID, "Can't load module right now");
|
||||
return(FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user