mirror of
https://github.com/hermansimensen/eventqueue-fix.git
synced 2025-12-06 18:08:27 +00:00
Update eventqueuefix.sp
This commit is contained in:
parent
62f39af2dc
commit
66765f40ab
@ -53,6 +53,7 @@ public Plugin myinfo =
|
|||||||
|
|
||||||
public void OnPluginStart()
|
public void OnPluginStart()
|
||||||
{
|
{
|
||||||
|
g_bBhopTimer = false;
|
||||||
LoadDHooks();
|
LoadDHooks();
|
||||||
HookEntityOutput("trigger_multiple", "OnTrigger", OnTrigger);
|
HookEntityOutput("trigger_multiple", "OnTrigger", OnTrigger);
|
||||||
}
|
}
|
||||||
@ -62,18 +63,18 @@ public void OnAllPluginsLoaded()
|
|||||||
if(GetFeatureStatus(FeatureType_Native, "Shavit_GetBhopStyle") != FeatureStatus_Unknown)
|
if(GetFeatureStatus(FeatureType_Native, "Shavit_GetBhopStyle") != FeatureStatus_Unknown)
|
||||||
{
|
{
|
||||||
g_bBhopTimer = true;
|
g_bBhopTimer = true;
|
||||||
} else g_bBhopTimer = false;
|
}
|
||||||
|
|
||||||
if(GetFeatureStatus(FeatureType_Native, "Shavit_GetClientTimescale") != FeatureStatus_Unknown)
|
if(GetFeatureStatus(FeatureType_Native, "Shavit_GetClientTimescale") != FeatureStatus_Unknown)
|
||||||
{
|
{
|
||||||
g_bBhopTimer = true;
|
g_bBhopTimer = true;
|
||||||
} else g_bBhopTimer = false;
|
}
|
||||||
|
|
||||||
//This is the latest added native, so we check this one last.
|
//This is the latest added native, so we check this one last.
|
||||||
if(GetFeatureStatus(FeatureType_Native, "Shavit_GetStyleSettingFloat") != FeatureStatus_Unknown)
|
if(GetFeatureStatus(FeatureType_Native, "Shavit_GetStyleSettingFloat") != FeatureStatus_Unknown)
|
||||||
{
|
{
|
||||||
g_bBhopTimer = true;
|
g_bBhopTimer = true;
|
||||||
} else g_bBhopTimer = false;
|
}
|
||||||
|
|
||||||
if(g_bBhopTimer)
|
if(g_bBhopTimer)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user