[CS:GO] Removing Warmup HUD
[CS:GO] Removing Warmup HUD
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
Do you mean the warmup countdown?
Re: [CS:GO] Removing Warmup HUD
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
Works, but it hides ALL menues !admin and other stuff
Re: [CS:GO] Removing Warmup HUD
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.
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.
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 39 guests