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

no need for this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AlexFlaviu
Junior Member
Join Date: Aug 2018
Old 08-30-2023 , 02:21   no need for this
Reply With Quote #1

no need for this

Last edited by AlexFlaviu; 09-12-2023 at 01:25. Reason: no need for this
AlexFlaviu is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-30-2023 , 09:16   Re: Modified font size to sethudtextparams
Reply With Quote #2

Quote:
Originally Posted by AlexFlaviu View Post
but when I tested on my css server and its working but is not with colors and its full white.

Could you please help me?
Only Valve can help with this.
__________________
Grey83 is offline
reBane
Senior Member
Join Date: May 2020
Old 08-30-2023 , 10:23   Re: Modified font size to sethudtextparams
Reply With Quote #3

No, legacy hud text is very limited, and font size can not be changed as is. that's why only valve can help you here; they'd have to update the game for that.
__________________
Plugins & LibrariesListingGitHubDosMikeTools ▶ ToDo
reBane is offline
oqyh
Senior Member
Join Date: May 2019
Location: United Arab Emirates
Old 08-30-2023 , 14:40   Re: Modified font size to sethudtextparams
Reply With Quote #4

Quote:
Originally Posted by AlexFlaviu View Post
Hello! So this is the problem, I have this code that is sending in hint area messages, is for csgo, there is working well, with colors, with everything, but when I tested on my css server and its working but is not with colors and its full white.

So my help request is this, the message is in font size format and I would like to modified it to be send in SetHudTextParams, cuz this works


Originall code
PrintHintTextToAll("<font size='50'><font color='#38F91A'><b> text <font color='#DE0202'>text <font color='#38F91A'>text</b></font>");

And I would like to be send with in this format
SetHudTextParams(-1.0, 0.9, 5.0, 255, 36, 36, 255, 0, 0.1, 0.1, 0.1);

Could you please help me?





https://github.com/oqyh/Retake-Execu...icator.sp#L180


https://github.com/Franc1sco/FixHintColorMessages
__________________
.:[ >> My Plugins << ]:.

My discord : oqyh
oqyh is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-30-2023 , 15:03   Re: Modified font size to sethudtextparams
Reply With Quote #5

oqyh,
Quote:
Originally Posted by AlexFlaviu View Post
but when I tested on my css server and its working but is not with colors and its full white.
__________________
Grey83 is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-31-2023 , 08:00   Re: Modified font size to sethudtextparams
Reply With Quote #6

PHP Code:
PrintHintTextToAll("text"
==>
PHP Code:
SetHudTextParams(-1.00.95.0255363625500.10.10.1);
for(
int i 1<= MaxClientsi++) if(IsClientInGame(i) && !IsFakeClient(i)) ShowHudText(i, -1"text"); 
But in any case, you can't set the font size for text and color for separate words, and there will be no translucent background under the text.

In CS:S the text in the hint can only be white.
__________________

Last edited by Grey83; 08-31-2023 at 08:11.
Grey83 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 08:12.


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