Changing admin chat color
Hello
I dont know a lot about source pawn so I'd like someone to tell me how to edit sm_say chat colors. The default color is green and its (ALL) Admin: , but I'd like to make it custom just like on the picture below. How to do that? http://i.imgur.com/vxEJ25K.png Thanks in advance :) |
Re: Changing admin chat color
I guess that shouldn't be difficult to do, or? Can someone tell/learn me how to change the admin chat colors and change "ALL" to "Admin". Hope for an answer as soon as possible :)
Thanks. |
Re: Changing admin chat color
https://forums.alliedmods.net/showthread.php?p=1721580
or just try hooking say command as a ConosleCommand and then remove command say flags then try printtochat all and design it as you wish. |
Re: Changing admin chat color
Open basechat.sp, somewhere around line 324:
PHP Code:
|
Re: Changing admin chat color
My knowledge about scripting is 0. So I've done a request ( https://forums.alliedmods.net/showthread.php?t=295716 ) for a simple thing. It's a plugin but it just needs some simple editing in my opinion to get what I want :-)
|
Re: Changing admin chat color
If you wish to use the base chatting system (not Custom Chat Colors plugin), simply open the basechat.sp as I told you, find the command SendChatToAll and replace it with the one I already pasted. Then close the file, drag&drop it on spcomp.exe and you've got your new, shiny plugin ready to work ;)
|
All times are GMT -4. The time now is 09:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.