reduced refresh time, see if it makes a dif
This commit is contained in:
parent
7c40081658
commit
9cffa0a6e8
@ -1,7 +1,7 @@
|
||||
#pragma semicolon 1
|
||||
|
||||
#define PLUGIN_AUTHOR "TRANSLUCENT"
|
||||
#define PLUGIN_VERSION "0.61"
|
||||
#define PLUGIN_VERSION "0.61r"
|
||||
#define MAXLENGTH_MESSAGE 256
|
||||
|
||||
#define STARTZONE 0
|
||||
@ -126,9 +126,9 @@ public void OnPluginStart()
|
||||
g_hCvarLasers.AddChangeHook(OnLazorsChange);
|
||||
}
|
||||
|
||||
g_hDrawFullZone = CreateTimer(0.1, DrawFullZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hDrawFullZone = CreateTimer(0.2, DrawFullZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hDrawZone = CreateTimer(1.0, DrawZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hHudLoop = CreateTimer(0.15, HudLoop, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hHudLoop = CreateTimer(0.2, HudLoop, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hSideHudLoop = CreateTimer(1.0, SideHudLoop, INVALID_HANDLE, TIMER_REPEAT);
|
||||
|
||||
for (new i = 1; i <= MaxClients; i++)
|
||||
|
@ -97,7 +97,7 @@ public void RestartTimers()
|
||||
g_hSideHudLoop = INVALID_HANDLE;
|
||||
|
||||
if (g_hDrawFullZone == INVALID_HANDLE)
|
||||
g_hDrawFullZone = CreateTimer(0.1, DrawFullZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hDrawFullZone = CreateTimer(0.2, DrawFullZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
if (g_hDrawZone == INVALID_HANDLE)
|
||||
g_hDrawZone = CreateTimer(1.0, DrawZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
if (g_hHudLoop == INVALID_HANDLE)
|
||||
|
@ -14,7 +14,7 @@ public Action DrawFullZoneTimer(Handle timer)
|
||||
DrawFullZone(vec, g_fStartOrigins[i], colorarray[i], 0.1);
|
||||
continue;
|
||||
}
|
||||
DrawFullZone(g_fEndOrigins[i], g_fStartOrigins[i], colorarray[i], 0.1);
|
||||
DrawFullZone(g_fEndOrigins[i], g_fStartOrigins[i], colorarray[i], 0.2);
|
||||
}
|
||||
return Plugin_Continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user