Raised This Month: $ Target: $400
 0% 

[CS:GO] PrintHintText Char Limit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SOBgaming
Senior Member
Join Date: Jul 2015
Old 05-05-2016 , 11:42   [CS:GO] PrintHintText Char Limit
Reply With Quote #1

Been using PrintHintTextToAll in my code and I noticed that there was a really weird char limit.
I've read a post by Mitchel saying it was 511 but I wasn't able to reproduce that. If I add something like
<font size='15'> it counts toward the char limit so it's definetly not a display limit, any way around this?
Or atleast just a way to make it so html code dosen't count towards the char limit?

Thanks!
__________________

Last edited by SOBgaming; 05-05-2016 at 11:50.
SOBgaming is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-05-2016 , 11:57   Re: [CS:GO] PrintHintText Char Limit
Reply With Quote #2

PrintToChat native has a buffer of 254 https://github.com/alliedmodders/sou...flife.cpp#L327

Unfortunately, it's impossible to make the html code not use up buffer as it's included in the string.
WildCard65 is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 05-05-2016 , 12:16   Re: [CS:GO] PrintHintText Char Limit
Reply With Quote #3

Quote:
Originally Posted by WildCard65 View Post
PrintToChat native has a buffer of 254 https://github.com/alliedmodders/sou...flife.cpp#L327

Unfortunately, it's impossible to make the html code not use up buffer as it's included in the string.
Oh... yeah PrintHintText seems to have the same limit. Tyvm!
__________________
SOBgaming 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 01:53.


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