Changing color of death msg
I would like to change the color of death msg for cs.
It's for example like that: (red)bibi (weapon) (blue)Player Can someone show me how to change the color of that without changing something in the teams? That it can look like: (red)bibi (weapon) (red)Player (player is still ct) or (white)bibi (weapon) (white)Player or reverse (blue)bibi (weapon) (red)Player (player is still ct) |
Re: Changing color of death msg
When exactly do you want to change the message? Do you want to change colors of all death messages?
|
Re: Changing color of death msg
Quote:
amx_t_kill blue (default: red) amx_ct_kill red (default: blue) Should support those 3 colors: red, blue, gray |
Re: Changing color of death msg
Code:
|
Re: Changing color of death msg
Quote:
|
Re: Changing color of death msg
Quote:
|
Re: Changing color of death msg
@hlev: I'm not sure that would work. Did you test it? Registering the death message, afaik, is effectively hooking it in post so the message was already sent. Can't modify it after it's been sent already.
|
Re: Changing color of death msg
Quote:
register_event() is post hook. |
Re: Changing color of death msg
Quote:
|
Re: Changing color of death msg
I tested it with only 1 player (myself), so only the victim's name was displayed in custom color.
|
| All times are GMT -4. The time now is 10:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.