AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CSS] Underline text in HUD (https://forums.alliedmods.net/showthread.php?t=263850)

NeXoU 06-03-2015 10:32

[CSS] Underline text in HUD
 
Hello,

How can i underline my text in my HUD (PrintKeyHint) ? I have seen this on a server.

Thank you again

KissLick 06-03-2015 11:20

Re: [CSS] Underline text in HUD
 
https://forums.alliedmods.net/showthread.php?t=256058

m_bNightstalker 06-03-2015 12:33

Re: [CSS] Underline text in HUD
 
You can use special chars inside a KeyHint which just looks like an underline for example, maybe there is another way too.

The only thing you can't use is a '%' It will break the box content.

Quote:

Originally Posted by KissLick (Post 2304352)

@KissLick:

HintText != KeyHintText
CS:S != CS:GO

KissLick 06-03-2015 12:40

Re: [CSS] Underline text in HUD
 
Oh... Didn't see that CSS.

Mitchell 06-03-2015 14:12

Re: [CSS] Underline text in HUD
 
Quote:

Originally Posted by m_bNightstalker (Post 2304378)
The only thing you can't use is a '%' It will break the box content.

What makes you think that?
"%%" should print the percent symbol.

NeXoU 06-05-2015 05:21

Re: [CSS] Underline text in HUD
 
I tested: <u> </u> --> Don't work

Have you other idea ?

Thank you again

m_bNightstalker 06-05-2015 17:37

Re: [CSS] Underline text in HUD
 
What about this:

&oline;

NeXoU 06-06-2015 20:01

Re: [CSS] Underline text in HUD
 
Quote:

Originally Posted by m_bNightstalker (Post 2305149)
What about this:

&oline;

Don't work :'(

m_bNightstalker 06-07-2015 09:29

Re: [CSS] Underline text in HUD
 
Quote:

Originally Posted by NeXoU (Post 2305466)
Don't work :'(

I've tested it and it works.

NeXoU 06-09-2015 05:54

Re: [CSS] Underline text in HUD
 
Hello,

Quote:

new Handle:HudMessage = StartMessageOne("KeyHintText", client);
BfWriteByte(HudMessage, 1);
BfWriteString(HudMessage, "&oline; test");
EndMessage();
For me this don't work.
Thank you again


All times are GMT -4. The time now is 20:19.

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