AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hud Message Line Breaks (https://forums.alliedmods.net/showthread.php?t=63106)

SamuraiBarbi 11-11-2007 22:41

Hud Message Line Breaks
 
How can I show a hud message ( set_hudmessage, show_hudmessage ) that has two lines instead of one long one? When I attempt to use \n in the spot that I want to break at, it just prints \n in the message itself.

Thanks for your time

Arkshine 11-11-2007 22:50

Re: Hud Message Line Breaks
 
Try using ^n .

SamuraiBarbi 11-11-2007 22:58

Re: Hud Message Line Breaks
 
Thank you so much, that did the trick. :D

Arkshine 11-11-2007 23:15

Re: Hud Message Line Breaks
 
You can change the control char by this way :

Code:
#pragma ctrlchar  '\'

SamuraiBarbi 11-12-2007 01:10

Re: Hud Message Line Breaks
 
sweet! that's a good tip arkshine!


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

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