Skip to content

[Share]Colored Admin Chat

Featured Replies

Colored Admin Chat

by Exolent

 

 

Features:

 

   * Colored chat in say and say_team for all admins

     -ADMIN_LEVEL_A for green name with yellow chat

     -ADMIN_LEVEL_B for red

     -ADMIN_LEVEL_C for blue

     -ADMIN_LEVEL_D for silver

   * Admins with admin level ADMIN_KICK can see dead all dead chat, all alive chat, and all say_team messages.

   * Admins with admin level ADMIN_IMMUNITY can hear any dead voices, any alive voices, and any team voices.

   * **NOTE!** The closest admin level to green name with yellow chat will be used over an others.

     - eg. you have the red and blue chat flags. red will be used instead

 

Examples:

 

   * Green Name with yellow chat

     Name : Text

     --

     Red

   * Name : Text

     --

     Blue

   * Name : Text

     --

     Gray

   * Name : Text

 

Cvars:

 

   * amx_cac_enabled <0|1>

     (Default: 1; determines if colored admin chat should be used. (1 for on, 0 for off))

     -

   * amx_adminlisten_chat <0|1>

     (Default: 1; determines if admins can see any chat ever displayed. (1 for on, 0 for off))

     -

   * amx_adminlisten_voice <0|1>

     (Default: 1; defermines if admins can hear any voices. (1 for on, 0 for off))

 

Don't Like The Default Admin Levels?

 

   * Open the .sma (source)

   * To change the admin levels, edit the following lines to the admin levels you prefer:

     -ADMIN_NORMAL

     -ADMIN_RED

     -ADMIN_BLUE

     -ADMIN_SILVER

     -LISTEN_CHAT

     -LISTEN_VOICE

   * Save

   * Recompile on the online compiler or recompile locally

 

Changelog:

 

   * Version 1.0

     - Initial release

   * Version 1.1

     - Added admin level for green chat

     - Merged 4 format() functions into one

   * Version 2.0

     - Simple code cleanup

     - Merged Adminlisten using the fakemeta module

     --- Adminlisten link: http://forums.alliedmods.net/showthread.php?p=107768

   * Version 3.0

     - Multiplied color possibilities

     - Rearranged messages

     - Fixed a few bugs

     - Renamed plugin

   * Version 3.1

     - Cleanup code

     - Fixed cvar chat issue

   * Verison 3.2

     - Made only 1 check for @ | @@ | @@@ say commands

     - Made voice follow sv_alltalk when not using voice listening

     - Added cvar to turn on/off plugin

     - Removed green name with green chat

     - Optimized has_color_chat() and get_color_chat() when using get_user_flags()

     - Removed SPEAK_MUTED for its uselessness

   * Verison 4.0]

     - Rewrote plugin

     - Fixed a few bugs

 

Credits:

 

   * Arion

     - for the first format() fix

   * Battousai-sama

     - for the admin level idea for green chat

   * team06

     - for creating set_speak & get_speak functions to make this fakemeta voice portion possible

   * _Master_

     - for encouraging me to optimize the "@ | @@ | @@@" portion of "valid_message()"

   * All bug reporters

     - for helping me fix any issues that appeared.

 

Current Version: 4.0

 

Download :  Click Here

I have a problem with that.I did all the necessaries things but when i write in TEAM CHAT it writes what i write 5 times,automatically.

Anyone knows how can i fix it?

  • Author

man i say that plugin for color chat is for me own srv own rank admin u need edite sma with u rank admin and compile that ;) and work

I don't know how to do it,but anyway it's not so useful so i don't need it.

Thx for share  ;)

I already gave this plugin to one men wich requested it.

But is ok and that.

Thanks for share.

  • Author

i don`t see it :( sry . But i put a new link to download . I have in me PC more that plugins :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.