Raised This Month: $51 Target: $400
 12% 

Comm_chatcolor (1.3.5)


Post New Thread Reply   
 
Thread Tools Display Modes
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
sub
Senior Member
Join Date: Nov 2004
Location: Morristown, New Jersey
Old 01-20-2005 , 17:30  
Reply With Quote #2

!!!!Great!!!! i am going to test this right now thus luks great!!!
sub is offline
Send a message via AIM to sub Send a message via MSN to sub
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-18-2005 , 14:33  
Reply With Quote #3

UPDATE1.0c

little update to fix minor bug
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 04-25-2005 , 14:17  
Reply With Quote #4

UPDATE v1.1:
changes:
- moved from pev/set_pev to entity_get/entity_set (no fakemeta)
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 06-28-2005 , 16:19  
Reply With Quote #5

Update v1.2:

added:
- when comm uses chat there is now a sound (can be turned of via define)

changed:
- minor code improvements
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 07-18-2005 , 08:41  
Reply With Quote #6

Update 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
__________________
alias White Panther
karlos is offline
onosrider
Member
Join Date: Jul 2005
Old 11-12-2005 , 12:45  
Reply With Quote #7

dosent work for ns 3.1 too
__________________

onosrider is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 11-12-2005 , 16:53  
Reply With Quote #8

working fine
you just need a new ns module for NS 3.1

NS 3.1 Module WIN32 and LINUX
__________________
alias White Panther
karlos is offline
AIRBORN
Junior Member
Join Date: Nov 2005
Location: Slovenia
Old 11-18-2005 , 05:28  
Reply With Quote #9

is it possible to set that when u comm and a commander name is added f.e. (TEAM)Airborn Commander:
AIRBORN is offline
Send a message via MSN to AIRBORN
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 11-18-2005 , 16:52  
Reply With Quote #10

sry i do not understand what you mean
plz explain it
__________________
alias White Panther
karlos is offline
Reply



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 13:12.


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