Raised This Month: $ Target: $400
 0% 

Hud Message Line Breaks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SamuraiBarbi
Senior Member
Join Date: Aug 2006
Location: United States
Old 11-11-2007 , 22:41   Hud Message Line Breaks
Reply With Quote #1

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
SamuraiBarbi is offline
Send a message via AIM to SamuraiBarbi Send a message via MSN to SamuraiBarbi Send a message via Yahoo to SamuraiBarbi
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-11-2007 , 22:50   Re: Hud Message Line Breaks
Reply With Quote #2

Try using ^n .
__________________
Arkshine is offline
SamuraiBarbi
Senior Member
Join Date: Aug 2006
Location: United States
Old 11-11-2007 , 22:58   Re: Hud Message Line Breaks
Reply With Quote #3

Thank you so much, that did the trick.
SamuraiBarbi is offline
Send a message via AIM to SamuraiBarbi Send a message via MSN to SamuraiBarbi Send a message via Yahoo to SamuraiBarbi
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-11-2007 , 23:15   Re: Hud Message Line Breaks
Reply With Quote #4

You can change the control char by this way :

Code:
#pragma ctrlchar  '\'
__________________
Arkshine is offline
SamuraiBarbi
Senior Member
Join Date: Aug 2006
Location: United States
Old 11-12-2007 , 01:10   Re: Hud Message Line Breaks
Reply With Quote #5

sweet! that's a good tip arkshine!
SamuraiBarbi is offline
Send a message via AIM to SamuraiBarbi Send a message via MSN to SamuraiBarbi Send a message via Yahoo to SamuraiBarbi
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:19.


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