AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How do we change the font style and size for /top15? (https://forums.alliedmods.net/showthread.php?t=129183)

FC3SRedSuns 06-09-2010 22:17

How do we change the font style and size for /top15?
 
First off how do you enable /statsme? Also how can we change the font style such as Verdana or Arial and font size for /top15? I only see the background color and font color in statx.amxx. Can anyone help me?

EDIT: Anyway, I've figured out how to enable statsme and all that. It was in the statsx.amxx, but I still need to change the FONT STYLE and FONT SIZE for /top15 and statsme etc. Does anyone know how to do that?

GXLZPGX 06-09-2010 22:20

Re: How do we change the font style and size for /top15?
 
Edit: Nvm

fysiks 06-09-2010 23:52

Re: How do we change the font style and size for /top15?
 
Using html and CSS (cascading style sheets). But you it will increase the number of characters used and there is a maximum limit for MOTDs.

FC3SRedSuns 06-10-2010 00:08

Re: How do we change the font style and size for /top15?
 
How would I increase the maximum limit for MOTDs? I don't know the correct html or CSS code to enter for it. I've tried some, but it always fails to compile, so I don't think I did it right.

RedRobster 06-10-2010 00:52

Re: How do we change the font style and size for /top15?
 
2 things. 1, you cannot increase the maximum limit of characters in an MOTD, hence the name "maximum." 2nd, you don't "compile" MOTDs, you simply add the .txt file on to the server.

FC3SRedSuns 06-10-2010 01:04

Re: How do we change the font style and size for /top15?
 
Can you please show me how to do that for my specific problem?

RedRobster 06-10-2010 01:16

Re: How do we change the font style and size for /top15?
 
http://www.htmlcodetutorial.com/char...msupp_195.html

FC3SRedSuns 06-10-2010 01:44

Re: How do we change the font style and size for /top15?
 
So instead of using pre I would add something like "asdf" under pre with font style and font size in motd.txt? and change the top15 to <asdf>?

fysiks 06-10-2010 01:55

Re: How do we change the font style and size for /top15?
 
You can change it for /statsme on Line 822 in the <font> tag. And on line 749 for top15.

http://www.w3schools.com/html/html_fonts.asp

RedRobster 06-10-2010 02:03

Re: How do we change the font style and size for /top15?
 
Quote:

Originally Posted by fysiks (Post 1204731)
You can change it for /statsme on Line 822 in the <font> tag. And on line 749 for top15.

http://www.w3schools.com/html/html_fonts.asp

Yes, that is a better link :P


All times are GMT -4. The time now is 05:25.

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