Raised This Month: $ Target: $400
 0% 

[CS:GO] MOTD doesn't show up.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 01-07-2015 , 21:38   [CS:GO] MOTD doesn't show up.
Reply With Quote #1

Hello! I'm scripting for CS:GO and I have some problems. I don't know how to show MOTD with any text, I tried something like this:

Code:
ShowMOTDPanel(client, "Title", "Desc", MOTDPANEL_TYPE_TEXT);
But MOTD doesn't shows up. What's wrong? Maybe in CS:GO isn't possible to show MOTD?
Screeaam.. is offline
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 01-07-2015 , 22:41   Re: [CS:GO] MOTD doesn't show up.
Reply With Quote #2

you got to open up HTML/JA file that's going to pop-up the webpage you trying to get.
LambdaLambda is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 01-08-2015 , 06:51   Re: [CS:GO] MOTD doesn't show up.
Reply With Quote #3

So I can't write in script file (SP) what I need to have in MOTD? Only I can make it by website?
Screeaam.. is offline
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 01-08-2015 , 07:29   Re: [CS:GO] MOTD doesn't show up.
Reply With Quote #4

No. There is no way to display default motd that you see on server join. However you are able to run JavaScript window in-game. Which needs to be fired by another JS window.

But, you can write PHP script that you going to pass variables such as 'text', and such with GET, and then you could run these up with JS/HTML window.
LambdaLambda is offline
Screeaam..
Senior Member
Join Date: Jun 2010
Location: Poland
Old 01-08-2015 , 08:38   Re: [CS:GO] MOTD doesn't show up.
Reply With Quote #5

Can You show me small example how to do this?
Screeaam.. is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-08-2015 , 09:18   Re: [CS:GO] MOTD doesn't show up.
Reply With Quote #6

Quote:
Originally Posted by Screeaam.. View Post
Can You show me small example how to do this?
https://forums.alliedmods.net/showthread.php?p=2166996
Mitchell 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 04:23.


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