Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock