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

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


Post New Thread Reply   
 
Thread Tools Display Modes
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-17-2018 , 10:00   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #11

Quote:
Originally Posted by hmmmmm View Post
Use the <pre> tag like asherkin said, it changes the font and makes \t work again
the problem is that everytime you open or close <pre> it adds a line break, which makes it impossible to use \t properly
joao7yt is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-17-2018 , 10:02   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #12

Quote:
Originally Posted by joao7yt View Post
the problem is that everytime you open or close <pre> it adds a line break, which makes it impossible to use \t properly
You're probably putting a line break inside your tag?

Make sure you do

<pre>this</pre>

not

<pre>
this
</pre>
__________________
asherkin is offline
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-17-2018 , 10:07   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #13

Quote:
Originally Posted by asherkin View Post
You're probably putting a line break inside your tag?

Make sure you do

<pre>this</pre>

not

<pre>
this
</pre>
PHP Code:
PrintHintTextToAll("aa<pre>\t</pre>bb"); 
produces the following effect:

Last edited by joao7yt; 07-17-2018 at 10:07.
joao7yt is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-17-2018 , 16:46   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #14

Use the <pre> tag once at the start of your message, not at every tab.

PHP Code:
PrintHintTextToAll("<pre>aa\tbb"); 
hmmmmm is offline
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-17-2018 , 17:21   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #15

Quote:
Originally Posted by hmmmmm View Post
Use the <pre> tag once at the start of your message, not at every tab.

PHP Code:
PrintHintTextToAll("<pre>aa\tbb"); 
if the <pre> tag is opened, <span> doesn't work.

https://www.w3schools.com/tags/tag_pre.asp

sad

Last edited by joao7yt; 07-17-2018 at 17:22.
joao7yt is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-17-2018 , 18:45   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #16

Works fine for me
https://cdn.discordapp.com/attachmen...10173004_1.jpg
hmmmmm is offline
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-17-2018 , 18:48   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #17

Quote:
Originally Posted by hmmmmm View Post
Can you use fontSize?
joao7yt is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-18-2018 , 03:57   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #18

Yes, that font size is slightly larger than the default one. Probably should have picked a better example.
hmmmmm is offline
Kxnrl
AlliedModders Donor
Join Date: May 2015
Old 07-19-2018 , 22:38   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #19

PanoramaUI assets files
__________________

Last edited by Kxnrl; 11-21-2019 at 04:01.
Kxnrl is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-20-2018 , 07:19   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #20

Don't think you can post that here, Valve seems to not like people uploading it online for whatever reason. SteamDB got a DMCA for uploading those files on GitHub.

If anyone wants to take a look at it though, you can open the code.pbin file in csgo/panorama folder with any archive utility such as WinRAR or 7zip as a zip file.
hmmmmm 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 10:48.


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