Page 1 of 1

[CS:GO] Removing Warmup HUD

Posted: Sun May 26, 2019 8:37 pm
by velocity
Is it possible to remove only the warmup hud in CS:GO? The reason for this is, in the new cs:go update it is only possible to record demos in warmup or freezetime.

Re: [CS:GO] Removing Warmup HUD

Posted: Tue May 28, 2019 7:20 pm
by Ayuto
Do you mean the warmup countdown?

Re: [CS:GO] Removing Warmup HUD

Posted: Wed May 29, 2019 6:27 pm
by velocity
Yes,

Re: [CS:GO] Removing Warmup HUD

Posted: Fri May 31, 2019 1:52 pm
by Ayuto
I first thought that it's sent by a user message, but that wasn't the case. However, this works fine:

Syntax: Select all

from players.entity import Player
from events import Event
from players.constants import HIDEHUD_MISCSTATUS

@Event('player_say')
def player_say(event):
# Hide the warmup countdown if the player says something
player = Player.from_userid(event['userid'])
player.hidden_huds |= HIDEHUD_MISCSTATUS

Re: [CS:GO] Removing Warmup HUD

Posted: Tue Jun 11, 2019 8:56 pm
by velocity
Works, but it hides ALL menues !admin and other stuff

Re: [CS:GO] Removing Warmup HUD

Posted: Tue Jun 11, 2019 9:08 pm
by Ayuto
I don't think there is another way, because it seems to be controlled by the client.

There is one last thing you could try: send some fake convar values to the client using <Player>.send_convar_value() to make the client think he's not playing in warmup mode.