New line in chat/center/ShowStatus
Is it possible? I've seen new line being possible in center message at least on one server.
I've tried with \n on center message with no luck. How to do it? And how about the others? Proof: http://i.imgur.com/V3L0fzY.png |
Re: New line in chat/center/ShowStatus
Code:
|
Re: New line in chat/center/ShowStatus
^
PHP Code:
|
Re: New line in chat/center/ShowStatus
PHP Code:
PHP Code:
|
Re: New line in chat/center/ShowStatus
Basically you use ^r instead of ^n in center messages.
|
Re: New line in chat/center/ShowStatus
Thanks. How about ShowStatus text? The shit that shows "Friend: Bla Health: 100%". Is it possible to new line it too?
Edit: also, the chat? |
Re: New line in chat/center/ShowStatus
For the chat, simply display another chat message. For ShowStatus - if none of the regular "tricks" don't work (^n, ^r), you probably can't.
|
Re: New line in chat/center/ShowStatus
Quote:
|
Re: New line in chat/center/ShowStatus
Quote:
|
Re: New line in chat/center/ShowStatus
Regarding multiple chat messages, it's not a good idea to spam MSG_ONE messages. They can easily overflow the client. Is there no way at all of making it go to the next line?
Are there any other special characters like ^n and ^r new-line related? Would trying them both at once make any difference? If yes, which one of them should be first? I've read the titles.txt and resource/cstrike_english.txt files and they seem to be using \n only for new lines. I know that in AMXX, \ is used to mark the continuation of a line, no matter if it is located inside a string or not, so I'm guessing that when I'm trying to send "An enemy is near you!\nAn enemy is near you!" AMXX messes with it? |
All times are GMT -4. The time now is 15:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.