Raised This Month: $ Target: $400
 0% 

Solved Change sky during gameplay, MOTD Stats


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-29-2018 , 08:52   Re: Change sky during gameplay, MOTD Stats
Reply With Quote #1

The MOTD window uses HTML, so use <br>.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-29-2018 , 08:56   Re: Change sky during gameplay, MOTD Stats
Reply With Quote #2

Quote:
Originally Posted by OciXCrom View Post
The MOTD window uses HTML, so use <br>.
Thought so, I was confused whether I had to apply Pawn code or HTML inside the 2nd parameter, am I able to change font color, size, style and add headers inside that 2nd parameter?

So something like this
PHP Code:
new szBuffer256 ];
formatexszBuffercharsmaxszBuffer ), "<h1><font color="green">Hello!</font></h1>" );

show_motdidszBuffer ); 
__________________
edon1337 is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 07-29-2018 , 10:05   Re: Change sky during gameplay, MOTD Stats
Reply With Quote #3

Quote:
Originally Posted by edon1337 View Post
Thought so, I was confused whether I had to apply Pawn code or HTML inside the 2nd parameter, am I able to change font color, size, style and add headers inside that 2nd parameter?

So something like this
PHP Code:
new szBuffer256 ];
formatexszBuffercharsmaxszBuffer ), "<h1><font color="green">Hello!</font></h1>" );

show_motdidszBuffer ); 

You can add any HTML tag (however some may not be supported by cs browser)
Airkish is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-29-2018 , 10:06   Re: Change sky during gameplay, MOTD Stats
Reply With Quote #4

Quote:
Originally Posted by Airkish View Post
however some may not be supported by cs browser
Such as?
__________________
edon1337 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:28.


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