i should fucking shoot myself
This commit is contained in:
@@ -91,19 +91,39 @@ void CheckDirectories()
|
||||
|
||||
public void RestartTimers()
|
||||
{
|
||||
g_hDrawFullZone = INVALID_HANDLE;
|
||||
g_hDrawZone = INVALID_HANDLE;
|
||||
g_hHudLoop = INVALID_HANDLE;
|
||||
g_hSideHudLoop = INVALID_HANDLE;
|
||||
|
||||
if (g_hDrawFullZone != INVALID_HANDLE)
|
||||
{
|
||||
CloseHandle(g_hDrawFullZone);
|
||||
g_hDrawFullZone = INVALID_HANDLE;
|
||||
}
|
||||
|
||||
if (g_hDrawZone != INVALID_HANDLE)
|
||||
{
|
||||
CloseHandle(g_hDrawZone);
|
||||
g_hDrawZone = INVALID_HANDLE;
|
||||
}
|
||||
|
||||
if (g_hHudLoop != INVALID_HANDLE)
|
||||
{
|
||||
CloseHandle(g_hHudLoop);
|
||||
g_hHudLoop = INVALID_HANDLE;
|
||||
}
|
||||
|
||||
if (g_hSideHudLoop != INVALID_HANDLE)
|
||||
{
|
||||
CloseHandle(g_hSideHudLoop);
|
||||
g_hSideHudLoop = INVALID_HANDLE;
|
||||
}
|
||||
|
||||
if (g_hDrawFullZone == INVALID_HANDLE)
|
||||
g_hDrawFullZone = CreateTimer(0.2, DrawFullZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hDrawFullZone = CreateTimer(0.2, DrawFullZoneTimer, INVALID_HANDLE, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
|
||||
if (g_hDrawZone == INVALID_HANDLE)
|
||||
g_hDrawZone = CreateTimer(1.0, DrawZoneTimer, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hDrawZone = CreateTimer(1.0, DrawZoneTimer, INVALID_HANDLE, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
|
||||
if (g_hHudLoop == INVALID_HANDLE)
|
||||
g_hHudLoop = CreateTimer(0.2, HudLoop, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hHudLoop = CreateTimer(0.2, HudLoop, INVALID_HANDLE, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
|
||||
if (g_hSideHudLoop == INVALID_HANDLE)
|
||||
g_hSideHudLoop = CreateTimer(1.0, SideHudLoop, INVALID_HANDLE, TIMER_REPEAT);
|
||||
g_hSideHudLoop = CreateTimer(1.0, SideHudLoop, INVALID_HANDLE, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
|
||||
}
|
||||
|
||||
public void ClearMapInfo()
|
||||
|
||||
Reference in New Issue
Block a user