sakre Posted April 23, 2010 Posted April 23, 2010 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 Quote
ShuN^ Posted April 24, 2010 Posted April 24, 2010 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? Quote
sakre Posted April 24, 2010 Author Posted April 24, 2010 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 Quote
ShuN^ Posted April 24, 2010 Posted April 24, 2010 I don't know how to do it,but anyway it's not so useful so i don't need it. Thx for share ;) Quote
CryStaliN Posted April 24, 2010 Posted April 24, 2010 I already gave this plugin to one men wich requested it. But is ok and that. Thanks for share. Quote
sakre Posted April 25, 2010 Author Posted April 25, 2010 i don`t see it :( sry . But i put a new link to download . I have in me PC more that plugins :D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.