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

[REQ] Change chat text *SPEC* to *DEAD*


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AnHiMiLaToR
Member
Join Date: Mar 2007
Old 04-21-2012 , 13:31   [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #1

Hello, I have a server which runs on Linux and it has the "admin free look" plugin, but it has a bug which makes all admins to appear as spectators in chat. I tried the official module but it has some minor bugs, so I wont use it.

Alright, here is the request:
Change ONLY the text "*SPEC*" to "*DEAD". Not the color, not anything else. I mean, when the admin is terrorist, the color of the chat must be red and CT - blue.


Example:

Thanks.

Last edited by AnHiMiLaToR; 04-21-2012 at 13:38.
AnHiMiLaToR is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 04-21-2012 , 13:54   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #2

Quote:
Originally Posted by AnHiMiLaToR View Post
Hello, I have a server which runs on Linux and it has the "admin free look" plugin, but it has a bug which makes all admins to appear as spectators in chat. I tried the official module but it has some minor bugs, so I wont use it.

Alright, here is the request:
Change ONLY the text "*SPEC*" to "*DEAD". Not the color, not anything else. I mean, when the admin is terrorist, the color of the chat must be red and CT - blue.


Example:

Thanks.
This should do the trick. Admins chat text will be the same color as the team he is on, and the player will be displayed as *DEAD* instead of *SPEC*

You'll need this plugin:
https://forums.alliedmods.net/showthread.php?t=94960
Attached Files
File Type: sma Get Plugin or Get Source (adminchats.sma - 154 views - 701 Bytes)
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.

Last edited by GXLZPGX; 04-21-2012 at 14:08.
GXLZPGX is offline
AnHiMiLaToR
Member
Join Date: Mar 2007
Old 04-21-2012 , 13:57   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #3

The admins will apear just like the other players, right? I mean, there will be no differences between an admin and a player in the chat? That's what I search for. Thanks.

Last edited by AnHiMiLaToR; 04-21-2012 at 14:00.
AnHiMiLaToR is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 04-21-2012 , 14:03   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #4

Quote:
Originally Posted by AnHiMiLaToR View Post
The admins will apear just like the other players, right? I mean, there will be no differences between an admin and a player in the chat? That's what I search for. Thanks.
You want the admins chat text color to look like a normal players? Check the attachment on this post.
Attached Files
File Type: sma Get Plugin or Get Source (adminchats.sma - 97 views - 662 Bytes)
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.

Last edited by GXLZPGX; 04-21-2012 at 14:05.
GXLZPGX is offline
darknwo
Junior Member
Join Date: Mar 2012
Location: Own world.
Old 04-21-2012 , 14:45   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #5

@GXLZPGX - Is not that his problem.
@AnHiMiLaToR - Try the module version instead of plugin (fixed for linux by Arkshine) -> https://forums.alliedmods.net/showpo...5&postcount=52

Cvars:
amx_adminfreelook 1/0 - on and off
amx_adminfreelookflag "d" - admin with flag to free look
__________________
Your ad here, 7$.
darknwo is offline
AnHiMiLaToR
Member
Join Date: Mar 2007
Old 04-21-2012 , 14:50   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #6

Thanks, I went testing it, but it gave me the following error:
Quote:
L 04/21/2012 - 216:46: -------- Mapchange to de_dust2 --------
L 04/21/2012 - 216:46: [AMXX] Plugin "adminchats.amxx" failed to load: Module/Library "chatcolor" required for plugin. Check modules.ini.
I put "chatcolor.inc" in \cstrike\addons\amxmodx\scripting\include and then compiled the plugin without problems - no effect, it keeps showing that error in server console.

@dark, the module didn't work like the plugin, it gave some errors, that was long time ago, even I commented it with "; not working - gives errors".
I need this plugin

Last edited by AnHiMiLaToR; 04-21-2012 at 14:51.
AnHiMiLaToR is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 04-21-2012 , 18:09   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #7

Quote:
Originally Posted by AnHiMiLaToR View Post
Thanks, I went testing it, but it gave me the following error:

I put "chatcolor.inc" in \cstrike\addons\amxmodx\scripting\include and then compiled the plugin without problems - no effect, it keeps showing that error in server console.

@dark, the module didn't work like the plugin, it gave some errors, that was long time ago, even I commented it with "; not working - gives errors".
I need this plugin
You need to put colorchat.amxx into the plugins folder, and in the plugins.ini
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
TRUE RED
Senior Member
Join Date: Mar 2012
Location: Ukraine
Old 04-21-2012 , 19:15   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #8

OK. I tested it. say_team: (Spectator); say: *DEAD*. Look what i have.
And another thing. When i'm using chat in game say_team works fine but typing say: no message appears.
Attached Thumbnails
Click image for larger version

Name:	2012-04-22 02h08_45.jpg
Views:	188
Size:	100.8 KB
ID:	102555  
TRUE RED is offline
Send a message via ICQ to TRUE RED Send a message via Skype™ to TRUE RED
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 04-21-2012 , 21:27   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #9

Quote:
Originally Posted by TRUE RED View Post
OK. I tested it. say_team: (Spectator); say: *DEAD*. Look what i have.
And another thing. When i'm using chat in game say_team works fine but typing say: no message appears.
I'm sorry, here you go.
Attached Files
File Type: sma Get Plugin or Get Source (adminchats.sma - 191 views - 1.9 KB)
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
TRUE RED
Senior Member
Join Date: Mar 2012
Location: Ukraine
Old 04-21-2012 , 21:37   Re: [REQ] Change chat text *SPEC* to *DEAD*
Reply With Quote #10

I can not move, man
Attached Thumbnails
Click image for larger version

Name:	2012-04-22 04h35_41.jpg
Views:	167
Size:	101.2 KB
ID:	102565  
TRUE RED is offline
Send a message via ICQ to TRUE RED Send a message via Skype™ to TRUE RED
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:48.


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