AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   amx_chat color (https://forums.alliedmods.net/showthread.php?t=63118)

staty 11-12-2007 08:18

amx_chat color
 
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 :P

Maurice 11-16-2007 22:03

Re: amx_chat color
 
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.

ConnorMcLeod 11-17-2007 02:00

Re: amx_chat color
 
3 Attachment(s)
Try this one.

Maurice 11-17-2007 04:10

Re: amx_chat color
 
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?

ConnorMcLeod 11-17-2007 04:22

Re: amx_chat color
 
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.


All times are GMT -4. The time now is 01:13.

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