Raised This Month: $ Target: $400
 0% 

amx_chat color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
staty
New Member
Join Date: Nov 2007
Old 11-12-2007 , 08:18   amx_chat color
Reply With Quote #1

hi all
Somebody have plugin who can display amx_chat to admins in some color ?
Much times I dont see what the admin say in amx_chat , so maybe somebody can do that plugin or edit other to get this effect ) pls help , btw. sry for english
staty is offline
Old 11-12-2007, 08:29
Careface
This message has been deleted by Careface.
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 11-16-2007 , 22:03   Re: amx_chat color
Reply With Quote #3

Great change but i noticed when i use the say_team @<text> feature the text color is still default.

I tried to change something in the script code but then it didnt work anymore, honestly said i dont understand why and maybe someone can explain me why.

I changed the blow mentioned line
format(message, 191, "^x04(ADMINS) %s : %s", name, message)

into
format(message, 191, "(ADMINS)^x04 %s : %s", name, message)

But unfortunely the text color is then default.
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.

Last edited by Maurice; 11-17-2007 at 03:36.
Maurice is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-17-2007 , 02:00   Re: amx_chat color
Reply With Quote #4

Try this one.
Attached Files
File Type: txt adminchatgreen.txt (4.4 KB, 1746 views)
File Type: sma Get Plugin or Get Source (adminchat.sma - 2947 views - 12.5 KB)

Last edited by ConnorMcLeod; 12-12-2009 at 03:00.
ConnorMcLeod is offline
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 11-17-2007 , 04:10   Re: amx_chat color
Reply With Quote #5

Thanks connorr! Your changes are working and i see you changed it so that the admin name keeps the team color wich is sometimes needable info, good job! I also saw in the plugin script that there now will be executed a sound when an admin says something, is this maded by you or is it a different adminchat version you used?
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.
Maurice is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-17-2007 , 04:22   Re: amx_chat color
Reply With Quote #6

yeah i made it, but this will only happen with red hud messages.
Also note the cvar sv_namegreen, on 1, everytime an admin will use regular chat, his name will be green, i took this idea in another admin chat plugin.
ConnorMcLeod is offline
Old 10-09-2012, 18:57
maxd
This message has been deleted by maxd.
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 01:13.


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