Raised This Month: $32 Target: $400
 8% 

[CS:GO PANORAMA] \t and size on PrintHintText


Post New Thread Reply   
 
Thread Tools Display Modes
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 07-23-2018 , 12:21   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #21

Quote:
Originally Posted by hmmmmm View Post
List of supported HTML tags in Panorama panels (some may not work in hint text):
Code:
<br>
<i>
<img>
<em>
<p>
<strong>
<li>
<span>
<h1>
<h2>
<font>
<child>
<pre>
<panel>
<a>
<b>
To change font and/or size you can use <span class='XXX'> like SHUFEN mentioned. For a list of valid classes you can use, check the panorama code in code.pbin. The styles available to you in hinttext are found in csgostyles.css and hudhinttext.css.

The most interesting ones are the font size ones, I'll list them here for convenience:
Code:
fontSize-xs - 8px
fontSize-s - 12px
fontSize-sm - 16px
fontSize-m - 18px
fontSize-l - 24px
fontSize-xl - 32px
fontSize-xxl - 40px


Found fontWeight but doesn't seem to work.

Tried this for example
Code:
<span class='fontWeight-Bold'> and <span class='fontWeight-light'>
Proz is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-24-2018 , 06:32   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #22

Quote:
Originally Posted by Proz View Post
Found fontWeight but doesn't seem to work.

Tried this for example
Code:
<span class='fontWeight-Bold'> and <span class='fontWeight-light'>
Also seems to be working fine: https://gyazo.com/4bcb0e9cd24c9c7d311726cc7dc4f1e5
hmmmmm is offline
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 07-24-2018 , 07:24   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #23

Quote:
Originally Posted by hmmmmm View Post
Can you show example? Thanks
Proz is offline
almil36
Member
Join Date: Mar 2019
Old 11-28-2019 , 05:07   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #24

Seems like this just got broken by CS:GO new update. It now does not apply the style to the text but write down the style in the text... Does someone knows a way to fix it?

EDIT: Found the solution here

Last edited by almil36; 11-28-2019 at 05:26. Reason: Found fix
almil36 is offline
Jamo
Junior Member
Join Date: Aug 2018
Old 03-12-2020 , 18:28   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #25

Need Help!

PHP Code:
PrintHintText(client,"<pre><i>Can't start pause during warmup!</i></pre>"); 
Shows as

Code:
<pre><i>Can't start pause during warmup!</i></pre>
in hint.
What can I do to fix that?!
Jamo is offline
xice1337
AlliedModders Donor
Join Date: Dec 2015
Old 03-14-2020 , 04:39   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #26

Quote:
Originally Posted by Jamo View Post
Need Help!

PHP Code:
PrintHintText(client,"<pre><i>Can't start pause during warmup!</i></pre>"); 
Shows as

Code:
<pre><i>Can't start pause during warmup!</i></pre>
in hint.
What can I do to fix that?!
https://github.com/Franc1sco/FixHintColorMessages
Just drag and drop the plugin in the plugins folder
xice1337 is offline
Reply


Thread Tools
Display Modes

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 16:16.


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