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

Solved Text getting cropped in PrintHintTextToAll and PrintCenterTextAll


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cruze
Veteran Member
Join Date: May 2017
Old 04-01-2020 , 11:39   Text getting cropped in PrintHintTextToAll and PrintCenterTextAll
Reply With Quote #1

Text getting cropped when using 2-3 color in PrintHintTextToAll and PrintCenterTextAll in them. Anyone else facing the same?
Code:
Format(text, sizeof(text), "\n<b><font size='35'><font color='#FC0000'>>></font> <font color='#00FCE5'>%d</font> <font color='#FC0000'><<</font></font></b>", count);
Only ">> CountNumber" is visible. Last "<<" not visible in hud.
Game CSGO.
SM 1.10 MM 1.10.
Using this https://github.com/Franc1sco/FixHintColorMessages/ to fix colors.
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 04-05-2020 at 15:35. Reason: What's being shown and what not.
Cruze is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-01-2020 , 13:45   Re: Text getting cropped in PrintHintTextToAll and PrintCenterTextAll
Reply With Quote #2

Dam, I don't remember now, how to do trick with those symbols in string.

But replace >> and << with alt + keypad symbols
Code:
175 = »
174 = «
__________________
Do not Private Message @me
Bacardi is offline
Cruze
Veteran Member
Join Date: May 2017
Old 04-01-2020 , 14:43   Re: Text getting cropped in PrintHintTextToAll and PrintCenterTextAll
Reply With Quote #3

Thanks Bacardi! Damn, that works.
__________________
Taking paid private requests! Contact me
Cruze 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 15:36.


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