Raised This Month: $319 Target: $400
 79%   Almost there!

Solved [CSGO] Block round end panel?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 07-22-2020 , 20:20   [CSGO] Block round end panel?
Reply With Quote #1

Is it possible to block that "Counter-Terrorists Win" / "Terrorists Win" Panel via Sourcemod? https://imgur.com/a/og89Cw1 As you can see it overlaps my overlay and I would rather get rid of it than re-making the overlay just because the texture looks fine

I've tried to google it but i could not find anything
__________________

Last edited by kratoss1812; 07-25-2020 at 18:42.
kratoss1812 is offline
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 07-23-2020 , 10:28   Re: [CSGO] Block round end panel?
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=190279
Kellan123 is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 07-23-2020 , 16:59   Re: [CSGO] Block round end panel?
Reply With Quote #3

Quote:
Originally Posted by Kellan123 View Post
i've tried this and its not working

PHP Code:
public void OnPluginStart()
{
    
HookEvent("cs_win_panel_round"Block);
    
HookEvent("cs_win_panel_match"Block);
}

public 
Action Block(Handle E, const char[] Nbool D)
{
    
PrintToServer("test");
    return 
Plugin_Continue;

__________________
kratoss1812 is offline
tair
Junior Member
Join Date: Apr 2015
Location: OnGameFrame()
Old 07-23-2020 , 18:12   Re: [CSGO] Block round end panel?
Reply With Quote #4

Try this:

PHP Code:

mp_endmatch_votenextmap 0
mp_endmatch_votenextleveltime 0
mp_match_restart_delay 1
mp_endmatch_votenextmap_keepcurrent 0 
tair is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 07-24-2020 , 08:02   Re: [CSGO] Block round end panel?
Reply With Quote #5

PHP Code:
public void OnPluginStart(){
    
HookEvent("cs_win_panel_round"WinPanelEventHookMode_Pre);
}

public 
Action WinPanel(Handle event, const char[] namebool dontBroadcast) {
    return 
Plugin_Handled;

This works fine
__________________
kratoss1812 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 12:53.


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