Raised This Month: $32 Target: $400
 8% 

[CS:GO] sv_nowinpanel


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-05-2018 , 17:37   [CS:GO] sv_nowinpanel
Reply With Quote #1

I'm trying to hide the end match panel (with scores, votemap etc). The cvar sv_nowinpanel 1 doesn't work on panorama (i don't know if it worked before).

Is there a way to block the panel with usermessages (VGUIMenu)? Does someone knows the name of
ReadString("name") for that function?

PHP Code:

public Action OnVGUIMenu(UserMsg msg_idProtobuf msg, const int[] playersint playersNumbool reliablebool init)
{
    
char name[7];
    
msg.ReadString("name"namesizeof(name));

Ilusion9 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 08-06-2018 , 17:01   Re: [CS:GO] sv_nowinpanel
Reply With Quote #2

Just print the name to console of each msg.

You will then be able to pick it when the win panel is displayed.
__________________
Neuro Toxin is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-07-2018 , 09:05   Re: [CS:GO] sv_nowinpanel
Reply With Quote #3

PHP Code:

L 08
/07/2018 15:58:20: [test.smxspecgui
L 08
/07/2018 15:58:20: [test.smxoverview
L 08
/07/2018 15:58:21: [test.smxspecgui
L 08
/07/2018 15:58:22: [test.smxspecgui
L 08
/07/2018 15:58:22: [test.smxspecmenu
L 08
/07/2018 15:58:22: [test.smxspecgui
L 08
/07/2018 15:58:22: [test.smxoverview
L 08
/07/2018 15:58:22: [test.smxspecmenu
L 08
/07/2018 15:58:22: [test.smxspecgui
L 08
/07/2018 15:58:22: [test.smxoverview
L 08
/07/2018 15:58:49: -------- Mapchange to surf_ski_5_b7 -------- 
there's nothing related to that panel in vguimenu. maybe there's another type of usermessage?
i send an email to valve related to sv_nowinpanel, but they are busy with cases and skins.
Ilusion9 is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-17-2018 , 09:31   Re: [CS:GO] sv_nowinpanel
Reply With Quote #4

I tried to block cs_intermission event, cs_win_panel_match event, ServerRankRevealAll usermessage and nothing seems to work. Any ideas?
__________________
Ilusion9 is offline
babka68
New Member
Join Date: Apr 2020
Location: Там
Old 05-19-2022 , 17:27   Re: [CS:GO] sv_nowinpanel
Reply With Quote #5

Quote:
Originally Posted by Ilusion9 View Post
I tried to block cs_intermission event, cs_win_panel_match event, ServerRankRevealAll usermessage and nothing seems to work. Any ideas?
Здравствуйте, сообщение для тех, кто наткнется на эту тему в надежде получить решение.

Code:
#pragma semicolon 1
#pragma newdecls required

public void OnPluginStart()
{
	HookEvent("cs_win_panel_round", Win_Panel_Round, EventHookMode_Pre);
}

public Action Win_Panel_Round(Event event, const char[] name, bool dontBroadcast)
{
	if (!dontBroadcast)
	{
		SetEventBroadcast(event, true);
	}
	return Plugin_Continue;
}
babka68 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode