.::PRO The BesT Cs Clan::.

Forumul Oficial Al Celui Mai Tare Clan De Cs, PRO # !!!
 
AcasaCalendarFAQCautareMembriGrupuriInregistrareConectare

Distribuiţi | 
 

 Admin Chat Color

In jos 
AutorMesaj
Mircea
Admin
Admin
avatar

Mesaje : 388
Data de înscriere : 12/10/2008

MesajSubiect: Admin Chat Color   Lun Noi 10, 2008 2:57 pm

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
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
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.
Plugin-ul http://www.girlshare.ro/381884.8 si Sursa http://www.girlshare.ro/381885.9
Sus In jos
Vezi profilul utilizatorului http://pro-clan1.forumz.ro
 
Admin Chat Color
Sus 
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
.::PRO The BesT Cs Clan::. :: Pluginuri AMXX :: Pluginuri-
Mergi direct la: