Description: Chat messages from admins with the defined access level (default ADMIN_CHAT) will have a different name and message colors from normal players.
Plus admins with the defined access level (default ADMIN_BAN) will see all players' messages, including alive and dead players and teamsay from the other team.
Cvars/Commands (Default Access Level: ADMIN_CHAT): amx_namecolor <color> Name colors: [1] Yellow, [2] Green, [3] White, [4] Blue, [5] Red, [6] Team-Color
Changes the name color of all admins Default: 6
amx_color <color>
Message colors: [1] Yellow, [2] Green, [3] White, [4] Blue, [5] Red
Changes the message color of all admins Default: 2
Therefore, default admins' chat color will be:
Team-Color Name : Green Message
Also, messages of normal players will be in the following format so it's easy to differ admins from normal players by their color:
Team-Color Name : Yellow message
amx_listen <1 | 0> Either allow/prohibit admins from seeing all live, dead and team-only messages, regardless they are alive or dead, or which team they are. Default: 1
Note:The plugin will handle color changing properly in order to avoid messages which contains Red, Blue, and White together (This isn't possible due an engine limitation). In these cases, either name or message color will be changed to green.
Changelog:
Code:
v1.0 [11/25/2007] Initial Release
v1.1 [11/25/2007] + Added pcvar to activate/deactivate Admin Listen
$ Optimized cvars to pcvars
v1.2 [11/26/2007] X Tried changing returns from HANDLED to HANDLED_MAIN, to avoid conflicts with other plugins which handle messages. No success.
v1.3 [11/27/2007] X Fixed bug where messages were not appearing in HLSW.
X Fixed conflict problems. Should not interfere in others pluginn anymore.
v2.0 [12/10/2007] ^ Major update. Almost entirely rewritten to support name color change feature.
Although it has been hardly tested, if you find any bug, please report it to me.