Raised This Month: $ Target: $400
 0% 

Force show scoreboard?


Post New Thread Reply   
 
Thread Tools Display Modes
sekac
Senior Member
Join Date: Nov 2016
Old 07-09-2018 , 12:53   Re: Force show scoreboard?
Reply With Quote #11

Yes I made complete code with many different variations (long hold time hud messages, repeating tasks, and more...) and it still didn't show up. Is using +showscores with client_cmd slowhacking?
sekac is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-09-2018 , 12:56   Re: Force show scoreboard?
Reply With Quote #12

Quote:
Originally Posted by sekac View Post
Yes I made complete code with many different variations (long hold time hud messages, repeating tasks, and more...) and it still didn't show up. Is using +showscores with client_cmd slowhacking?
i guess client do not accept +showscores by client_cmd, try to use engine client cmd.
And yes it is slowhack.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
sekac
Senior Member
Join Date: Nov 2016
Old 07-09-2018 , 13:02   Re: Force show scoreboard?
Reply With Quote #13

Well without blocking -showscores, +showscores is useless...
sekac is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-09-2018 , 13:15   Re: Force show scoreboard?
Reply With Quote #14

Quote:
Originally Posted by sekac View Post
Well without blocking -showscores, +showscores is useless...
Without block what?

Code:
#include <amxmodx>

public plugin_init()
{
	register_plugin("AMXX Test","0.0.1","SmileY");
	
	register_concmd("amx_test","Test");
}

public Test(id)
{
	set_hudmessage(0,255,0,-1.0,-1.0, .holdtime = 10.0);
	show_hudmessage(0,"TEST MESSAGE GOES HERE");
	
	client_cmd(0,"+showscores");
	
	set_task(6.0,"EndTest");
	
	return PLUGIN_HANDLED;
}

public EndTest()
{
	client_cmd(0,"-showscores");
}
1. Non block hudmessages (It is working)
2. users can close scoreboard using tab
3. Not tested on HLDS, but probably same result as local
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
sekac
Senior Member
Join Date: Nov 2016
Old 07-09-2018 , 13:30   Re: Force show scoreboard?
Reply With Quote #15

"Without block what?" -showscores, so they can't close the scoreboard until 6 seconds have passed
sekac is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-09-2018 , 13:32   Re: Force show scoreboard?
Reply With Quote #16

Quote:
Originally Posted by sekac View Post
"Without block what?" -showscores, so they can't close the scoreboard until 6 seconds have passed
Is not possible to block client side commands, but with this one second that you display the scoreboard you can just display it again automatically
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply



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 17:42.


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