diff --git a/core/sourcemm_api.cpp b/core/sourcemm_api.cpp index 916fa60f..385fc220 100644 --- a/core/sourcemm_api.cpp +++ b/core/sourcemm_api.cpp @@ -205,7 +205,7 @@ void SourceMod_Core::OnVSPListening(IServerPluginCallbacks *iface) } } -#if defined METAMOD_PLAPI_VERSION +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11 void SourceMod_Core::OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand) { diff --git a/core/sourcemm_api.h b/core/sourcemm_api.h index d4fb095a..f67a51e9 100644 --- a/core/sourcemm_api.h +++ b/core/sourcemm_api.h @@ -76,7 +76,7 @@ public: const char *GetLogTag(); public: void OnVSPListening(IServerPluginCallbacks *iface); -#if defined METAMOD_PLAPI_VERSION +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11 void OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand); #else void OnPluginUnload(PluginId id);