Raised This Month: $32 Target: $400
 8% 

Admin Chat Colors [v2.0 - 12/10/2007]


Post New Thread Reply   
 
Thread Tools Display Modes
Arion
Senior Member
Join Date: Mar 2007
Old 11-25-2007 , 16:07   Re: Admin Chat Colors [v1.2 - 25/11/2007]
Reply With Quote #11

Quote:
Originally Posted by connorr View Post
Some plugins just check if some keywords are said by players.
In these cases you should put admin_chat_colors.amxx in the end of plugins.ini

(Y)
__________________
Arion is offline
Send a message via MSN to Arion
Tartooob
Senior Member
Join Date: May 2006
Old 11-26-2007 , 04:17   Re: Admin Chat Colors [v1.2 - 25/11/2007]
Reply With Quote #12

Wow nice, Gonna test it out ^^
__________________
oooooohh signature space o.o
Tartooob is offline
Old 11-26-2007, 06:48
Angelina
This message has been deleted by Angelina.
Arion
Senior Member
Join Date: Mar 2007
Old 11-26-2007 , 07:20   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #13

Angelina, it's because this plugin handles "say " and "say_team " messages and stops. Try the new version, on first page.

I only changed returns from PLUGIN_HANDLED to PLUGIN_HANDLED_MAIN. That should prevent any conflict with other plugins.

Thanks connorr for helping with this
__________________
Arion is offline
Send a message via MSN to Arion
Old 11-26-2007, 07:48
Angelina
This message has been deleted by Angelina.
Arion
Senior Member
Join Date: Mar 2007
Old 11-26-2007 , 07:50   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #14

Angelina, if you can edit the .sma file, change all PLUGIN_HANDLED_MAIN to PLUGIN_CONTINUE and see if it works
__________________
Arion is offline
Send a message via MSN to Arion
Old 11-26-2007, 08:02
Angelina
This message has been deleted by Angelina.
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-26-2007 , 09:03   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #15

can u make this compitable with amx_translit ?
Owyn is offline
Send a message via ICQ to Owyn
Arion
Senior Member
Join Date: Mar 2007
Old 11-26-2007 , 09:18   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #16

@Angelina, that's why I was afraid of PLUGIN_CONTINUE.. I knew it would probably make the message appear twice..


@Owin, what's exactly the problem?
__________________
Arion is offline
Send a message via MSN to Arion
Old 11-26-2007, 09:33
Angelina
This message has been deleted by Angelina.
Arion
Senior Member
Join Date: Mar 2007
Old 11-26-2007 , 09:42   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #17

I don't know how to fix.. If the messages goes to HLSW (through PLUGIN_CONTINUE), it will go to engine aswell, which will cause the message to appear twice.. If you block it for going (through PLUGIN_HANDLED), it won't appear in HLSW..
__________________
Arion is offline
Send a message via MSN to Arion
Old 11-26-2007, 09:47
Angelina
This message has been deleted by Angelina.
Arion
Senior Member
Join Date: Mar 2007
Old 11-26-2007 , 13:52   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #18

Angelina, yes, deactive for a while.

I installed HLSW and I'm trying to fix.
__________________
Arion is offline
Send a message via MSN to Arion
Old 11-26-2007, 13:56
Angelina
This message has been deleted by Angelina.
`666
AlliedModders Donor
Join Date: Jan 2006
Old 11-26-2007 , 14:18   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #19

yer, for some reason doesnt log chat in to cs logs :S maybe because i got antibigot plugin, not sure...
`666 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-26-2007 , 14:19   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #20

Don't know if this is related :
Quote:
Originally Posted by "adminchat.sma
Code:
    if (message[0] == '"' && message[length] == '"') // HLSW fix     {         message[0] = ' '         message[length] = ' '         length += 2     }
ConnorMcLeod is offline
Reply


Thread Tools
Display Modes

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 22:32.


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