Std Admin Color Chat
1 Attachment(s)
Standard Admin Color Chat
Headline: amx_psay, amx_chat and amx_say in green chat text Have you ever asked how you are supposed to see the admin chat, amx_say or how people are supposed to be able to read your PMs? The solution is simple. All that text will show as green, making it a whole lot easier to spot and read. NEW version 1.1.1! Minor code changes with the purpose of making it easy to change the pre message part. Just change the text in some defines and recompile the plugin, its that simple. Code:
// Text defines, PREFIX is text before and SUFFIX is text after the username in a message. http://i14.photobucket.com/albums/a3...color_chat.jpg Table of Content License (GNU General Public License) Standard Admin Color Chat Introduction Get started Credits Changelog License (GNU General Public License) Standard Admin Color Chat for Counter Strike Copyright (C) 2005, Martin J. Van der Cal This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Martin J. Van der Cal, Contact me with email [email protected]. Files: std_admin_color_chat.sma Standard Admin Color Chat Introduction This plugin features the standard admin chat, but somewhat modified. See "Get Started" for what you can do. Get started Everyone can tell the admins by using team_say @ <message>, will show as a green message to admins Everyone can tell the admins by using amx_chat <message>, will show as a green message to admins Admins can send PMs to anyone by using <say or team_say> # <nick or steamid> <message> Admins can send PMs to anyone by using amx_psay <nick or steamid> <message> Admins can broadcast messages using amx_say <message> NOTE 1! To overide the commands from the standard amxx adminchat plugin. You need to put this plugin above the adminchat plugin in "plugins.ini": Code:
std_admin_color_chat.amxx NOTE 3! When sending PMs with say or team_say you cant use spaces in the nicks. If you have to, then use amx_psay command. Credits Thank you everyone who puts their codes up for people to see, great way to learn how to code and to lantz69 who was a great help telling me what he wanted ;) Changelog v. 1.1.1 Minor code changes, mainly to make it easy to change some parts of the messages. v. 1.1.0 Added amx_say, shows as green text v. 1.0.0 Anyone can send message to admins, shows as green text Admins can send PMs to anyone, shows as green text Works from server console and HLSW PS. I have tested this on Counter-Strike. Hence Plugin Mod: Counter-Strike. It will probably work on other mods, but I can't tell for sure. Test if and see if it works. Post a message here if it works and I will add it in a little list below Mods that has been tested: Counter-Strike - Works Battlegrounds - Number of people tested it(1), Didn't work(1), Worked(0) |
maybe a screenshot
|
Good suggestion... Screenshot added ;)
|
Very nice plugin and idé :)
|
nice! keep up the good work :D
|
:D
Yeah you published the plugin. I've wanted this for a long time and even requested it 2 months ago. @vandercal About NOTE 1! maybe change it to. To overide the commands from the standard amxx adminchat plugin you need to put this plugin above it in plugins.ini Like this: Code:
std_admin_color_chat.amxx |
Done... thanks ;)
|
Cool plugin, is it possible to change the color to whatever you like?
I saw this: Code:
^x04 is green color so what are the other colors? and how do i modify this to also do these colors for amx_say ? |
Quote:
i could be wrong, but ^x01 is the plain half-life colour ^x02 i don't know ^x03 is the team colour, it shows red to terrorists and blue to counter-terrorists |
What color is the half life color and arent there any more colors?
|
All times are GMT -4. The time now is 04:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.