FunMode: Don't show knife count if vote is active
This commit is contained in:
parent
15d6efe59f
commit
6e3b10fc05
@ -492,6 +492,9 @@ public Action Timer_UpdateKnives(Handle hThis)
|
|||||||
if (!g_bEnabled)
|
if (!g_bEnabled)
|
||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
|
|
||||||
|
if (IsVoteInProgress())
|
||||||
|
return Plugin_Continue;
|
||||||
|
|
||||||
for (int i = 1; i <= MaxClients; i++)
|
for (int i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
if (!IsValidClient(i) || IsFakeClient(i))
|
if (!IsValidClient(i) || IsFakeClient(i))
|
||||||
|
Loading…
Reference in New Issue
Block a user