Raised This Month: $51 Target: $400
 12% 

[CS:GO] ShowMOTDPanel


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-28-2012 , 03:27   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #31

^ This

That javascript MOTD page Thread: What in hell is this? [Motd?]

*edit
Anyonw willing try this ? (cs:go person)
http://forums.alliedmods.net/showpos...01&postcount=5

And if it not work, you could try use event what work later, like "player_spawn"...

Last edited by Bacardi; 09-28-2012 at 06:56.
Bacardi is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 09-29-2012 , 05:31   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #32

Quote:
Originally Posted by Bacardi View Post
*edit
Anyonw willing try this ? (cs:go person)
http://forums.alliedmods.net/showpos...01&postcount=5
it does not work
__________________
altex is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-29-2012 , 06:07   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #33

what about this ? sm_test
PHP Code:
public OnPluginStart()
{
    
RegConsoleCmd("sm_test"test);
}

public 
Action:test(clientargs)
{
    
ShowMOTDPanel(client"Title""http://use your own.html"MOTDPANEL_TYPE_URL);
    return 
Plugin_Handled;

index.html
__________________
Do not Private Message @me

Last edited by Bacardi; 10-01-2012 at 14:28.
Bacardi is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 09-29-2012 , 06:46   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #34

Quote:
Originally Posted by Bacardi View Post
what about this ? sm_test
PHP Code:
public OnPluginStart()
{
    
RegConsoleCmd("sm_test"test);
}

public 
Action:test(clientargs)
{
    
ShowMOTDPanel(client"Title""http://dl.dropbox.com/u/38118182/index.html"MOTDPANEL_TYPE_URL);
    return 
Plugin_Handled;

index.html
this works
__________________
altex is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-29-2012 , 07:04   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #35

Could you (anybody) do last test. To see will it even look motd.txt file from server.
Code:
public OnPluginStart()
{
    RegConsoleCmd("sm_test", test);
}

public Action:test(client, args)
{
    //ShowMOTDPanel(client, "Title", "http://dl.dropbox.com/u/38118182/index.html", MOTDPANEL_TYPE_URL);
	ShowMOTDPanel(client, "Message Of The Day", "motd", MOTDPANEL_TYPE_INDEX); // Command button OK in action.
}
*edit
maybe show blank page, until you reload with mouse 2
Attached Files
File Type: txt motd.txt (247 Bytes, 584 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 09-29-2012 at 07:05.
Bacardi is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 09-29-2012 , 07:18   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #36

Quote:
Originally Posted by Bacardi View Post
Could you (anybody) do last test. To see will it even look motd.txt file from server.
Code:
public OnPluginStart()
{
    RegConsoleCmd("sm_test", test);
}

public Action:test(client, args)
{
    //ShowMOTDPanel(client, "Title", "http://dl.dropbox.com/u/38118182/index.html", MOTDPANEL_TYPE_URL);
	ShowMOTDPanel(client, "Message Of The Day", "motd", MOTDPANEL_TYPE_INDEX); // Command button OK in action.
}
*edit
maybe show blank page, until you reload with mouse 2

it works
__________________
altex is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-29-2012 , 07:26   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #37

Ahaa. Great.
For now you need use javascript to open new window, but still need second page from web...

Maybe can build new page using java, not sure.

Carry on!
Bacardi is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 09-29-2012 , 12:41   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #38

Quote:
Originally Posted by altex View Post
this works
Im pretty new in source mod.
If this works in cs:go then that mean that this will work in cs:s too?
.Dare Devil. is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-29-2012 , 12:50   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #39

Actually yes, after this update *OB games 3.7.2012
http://store.steampowered.com/news/8323/

Quote:
Updated the HTML renderer for displaying server MOTD
__________________
Do not Private Message @me

Last edited by Bacardi; 09-29-2012 at 12:54.
Bacardi is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-30-2012 , 11:20   Re: [CS:GO] ShowMOTDPanel
Reply With Quote #40

According to VALVE HUGE update monday... also adding in two maps and redone matchmaking... the only other thing posted was


"Lots of bug fixes"

Maybe the will fix this problem lol...

Last edited by Doc-Holiday; 09-30-2012 at 11:20.
Doc-Holiday 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 17:56.


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