[HELP] Permanent chat message (on some possition)
1 Attachment(s)
Hey, guys! I want to ask you what are the parameters of message_begin, write_any, etc, to create a permanent chat message, mostly under chat. I would also ask you for some information about each part of the code, to know what I'm exactly doing. Where are the possition, the text, the type of message, the index, defined and what does every line mean. Thanks alot, cuz I know someone will help with that easy one! Example picture attached.
|
Re: [HELP] Permanent chat message (on some possition)
Search "Statustext".
|
Re: [HELP] Permanent chat message (on some possition)
Found some info! Okay, now the other question - how to use it? I mean, probably I have to register_message("some_message", "its_function")
but how can I hook it only for alive, only for dead, and when it's called? Something I can't find... |
Re: [HELP] Permanent chat message (on some possition)
You would show like you would any other message.
Try the code below, you will need the colorstatus.inc from this thread. It should give an idea of how to use it. PHP Code:
|
Re: [HELP] Permanent chat message (on some possition)
Wow, that's some other way. Thanks for that method! But I'm still interested of the method with message_begin and the most detailed way.
|
Re: [HELP] Permanent chat message (on some possition)
The annoying part about this is that if the client has "hud_centerid 1" it will appear in the middle.
|
Re: [HELP] Permanent chat message (on some possition)
Why is it #include <colorstatus.inc>
why not just #include <colorstatus> |
Re: [HELP] Permanent chat message (on some possition)
Quote:
|
| All times are GMT -4. The time now is 21:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.