From 9106cce5e77364429db10a8a30f37d3f8b9d626c Mon Sep 17 00:00:00 2001 From: deadw1nter <65445419+deadw1nter@users.noreply.github.com> Date: Mon, 12 Apr 2021 07:06:46 +0800 Subject: [PATCH] a reminder to the user --- scripting/eventqueuefix.sp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/scripting/eventqueuefix.sp b/scripting/eventqueuefix.sp index c567a22..b686707 100644 --- a/scripting/eventqueuefix.sp +++ b/scripting/eventqueuefix.sp @@ -61,15 +61,22 @@ public void OnPluginStart() public void OnAllPluginsLoaded() { - if(LibraryExists("shavit") && GetFeatureStatus(FeatureType_Native, "Shavit_GetStyleSettingFloat") != FeatureStatus_Unknown) + if(LibraryExists("shavit")) { - g_bBhopTimer = true; + if(GetFeatureStatus(FeatureType_Native, "Shavit_GetStyleSettingFloat") != FeatureStatus_Unknown) + { + g_bBhopTimer = true; + } + else + { + PrintToServer("[EventQueueFix] Found compatible timer: Bhoptimer, but it is not version 2.6.0 or above."); + } } if(g_bBhopTimer) { PrintToServer("[EventQueueFix] Found compatible timer: Bhoptimer."); - } + } } public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)