Raised This Month: $ Target: $400
 0% 

Comm_chatcolor (1.3.5)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Natural Selection        Category:   Gameplay       
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 01-20-2005 , 16:25   Comm_chatcolor (1.3.5)
Reply With Quote #1

Code:
/*
* This Plugin changes the chat color of a commander
* you can set the comms color with the define "comm_color" (default is green)
*
* Credits:
*	-> mayhem	-	some rip of his colorAdminChat
*
* Author:
*	-> White Panther
*
* v1.0c:
*	- initial release
*	- some code improvements (thx mayhem)
*
* v1.1:
*	- changes:
*		- moved from pev/set_pev to entity_get/entity_set (no fakemeta)
*
* v1.2:
*	- added:
*		- when comm uses chat there is now a sound (can be turned of via define)
*	- changed:
*		- minor code improvement
*
* v1.3:
*	- fixed:
*		- message was displayed when containing only spaces or tabs
*	- added:
*		- define to either play a sound when ever comm uses chat or only if message starts with a !
*	- changed:
*		- code improvements
*
* v1.3.2:
*	- fixed:
*		- messages are now logged ( thanks Gimp )
*		- minor code tweaks
*
* v1.3.3:
*	- fixed:
*		- runtime error due to variable exchange (thx John2be)
*
* v1.3.3d:
*	- fixed:
*		- little error with logging ( thx BIGPhil )
*
* v1.3.4:
*	- changed:
*		- minor code tweak
*
* v1.3.4b:
*	- fixed:
*		- message was replaced with playername ( thx AiRbOrN )
*
* v1.3.4c:
*	- fixed:
*		- bug with compiling option "PLAY_SOUND"
*
* v1.3.5:
*	- changed:
*		- NS 3.2 adjustment
*/


#include <amxmodx>
#include <engine>
#include <ns>
eg:
normally each marine has a blue chat name with white text
this changes it for comm to green chat name with white text

only teammates will see the new color


Comm Chatcolor (download here)
__________________
alias White Panther

Last edited by karlos; 04-02-2007 at 07:26.
karlos is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode