Raised This Month: $ Target: $400
 0% 

Solved ShowHiddenMOTDPanel after update (5/30/2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
g00gl3
Member
Join Date: Feb 2016
Location: bulgaria
Old 05-31-2017 , 17:42   ShowHiddenMOTDPanel after update (5/30/2017)
Reply With Quote #1

hi, before update this work for me but now not working anymore


ty


Code:
ShowHiddenMOTDPanel(client, "https://www.youtube.com/watch?v=_dK2tDK9grQ", MOTDPANEL_TYPE_URL);
Code:
public void ShowHiddenMOTDPanel(int client, char[] url, int type)
{
	Handle setup = CreateKeyValues("data");
	KvSetString(setup, "title", "YouTube Music Player by namazso");
	KvSetNum(setup, "type", type);
	KvSetString(setup, "msg", url);
	ShowVGUIPanel(client, "info", setup, false);
	delete setup;
}

Last edited by g00gl3; 05-31-2017 at 19:02.
g00gl3 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 05-31-2017 , 18:01   Re: ShowHiddenMOTDPanel after update (5/30/2017)
Reply With Quote #2

Try sm_cvar sv_disable_motd 0.
__________________
retired
shavit is offline
g00gl3
Member
Join Date: Feb 2016
Location: bulgaria
Old 05-31-2017 , 18:12   Re: ShowHiddenMOTDPanel after update (5/30/2017)
Reply With Quote #3

Quote:
Originally Posted by shavit View Post
Try sm_cvar sv_disable_motd 0.
nvm this dont work only for me another players can hear the music...

i dont know why i do cl_disablehtmlmotd 0

and also dont work
g00gl3 is offline
Kinsi
Senior Member
Join Date: Apr 2013
Old 05-31-2017 , 20:27   Re: ShowHiddenMOTDPanel after update (5/30/2017)
Reply With Quote #4

Quote:
Originally Posted by shavit View Post
Try sm_cvar sv_disable_motd 0.
That just disables the MOTD from showing up on the initial connect, it can still be used when its on 0
Kinsi is offline
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 06:37.


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