Set several timers variable value to the INVALID_HANDLE after KillTimer call.
This commit is contained in:
parent
25eaa7ade3
commit
16de1d1a9f
@ -154,6 +154,7 @@ OverlaysOnRoundStart()
|
|||||||
new Float:overlaysupdate = GetConVarFloat(g_hCvarsList[CVAR_OVERLAYS_UPDATE_TIME]);
|
new Float:overlaysupdate = GetConVarFloat(g_hCvarsList[CVAR_OVERLAYS_UPDATE_TIME]);
|
||||||
if (overlaysupdate <= 0.0)
|
if (overlaysupdate <= 0.0)
|
||||||
{
|
{
|
||||||
|
tOverlays = INVALID_HANDLE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,6 +98,7 @@ RespawnOnClientDeath(client, attacker, const String:weapon[])
|
|||||||
// If player was infected, then stop.
|
// If player was infected, then stop.
|
||||||
if (StrEqual(weapon, "zombie_claws_of_death", false))
|
if (StrEqual(weapon, "zombie_claws_of_death", false))
|
||||||
{
|
{
|
||||||
|
tRespawn[client] = INVALID_HANDLE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,6 +106,7 @@ RespawnOnClientDeath(client, attacker, const String:weapon[])
|
|||||||
new bool:respawn = GetConVarBool(g_hCvarsList[CVAR_RESPAWN]);
|
new bool:respawn = GetConVarBool(g_hCvarsList[CVAR_RESPAWN]);
|
||||||
if (!respawn)
|
if (!respawn)
|
||||||
{
|
{
|
||||||
|
tRespawn[client] = INVALID_HANDLE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user