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

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-26-2007 , 14:29   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #21

I didn't get your point, connorr..


@Angelina, bad news.. I don't know how to fix.. You must choose either colored messages or see messages in HLSW ;/

@666 Same case as Angelina..
__________________
Arion is offline
Send a message via MSN to Arion
Old 11-26-2007, 15:13
Angelina
This message has been deleted by Angelina.
Arion
Senior Member
Join Date: Mar 2007
Old 11-26-2007 , 19:22   Re: Admin Chat Colors [v1.2 - 26/11/2007]
Reply With Quote #22

@Angelina

Thanks! I'll study the code and (I hope) make a definitive solution.


Edit.

I don't know how, but I found a solution. Luck, I guess.

I only changed all returns to PLUGIN_CONTINUE, added this to plugin_init():
register_message (get_user_msgid ("SayText"), "avoid_duplicated")

and in function avoid_duplicated, this:
return PLUGIN_HANDLED

And voilą! Prints in chat (once), server console, HLSW, and doesn't interfere on other plugins anymore. Want more?
__________________

Last edited by Arion; 11-27-2007 at 13:20.
Arion is offline
Send a message via MSN to Arion
`666
AlliedModders Donor
Join Date: Jan 2006
Old 11-27-2007 , 14:13   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #23

thanks for bug fix!
`666 is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-27-2007 , 14:34   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #24

Quote:
and doesn't interfere on other plugins anymore
doesn't interfere with other plugins which hooks say cmd?
Owyn is offline
Send a message via ICQ to Owyn
Arion
Senior Member
Join Date: Mar 2007
Old 11-27-2007 , 14:35   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #25

Quote:
Originally Posted by .Owyn. View Post
doesn't interfere with other plugins which hooks say cmd?
Exactly.. It should not interfere..

If you enconter any problems, please let me know.
__________________
Arion is offline
Send a message via MSN to Arion
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-27-2007 , 14:43   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #26

just did. if i turn amx_translit ON, and then i try to say something using say or team_say nothing appears in chat.

+plus, btw, can u add silver color?
Owyn is offline
Send a message via ICQ to Owyn
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 11-27-2007 , 14:46   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #27

Try to put translit before this plugin in plugins.ini , should work.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-27-2007 , 15:00   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #28

did, now text appears but doesn't translits (but i see translited text in console, then not translited (2msgs from 1 msg))

+could u edit translit.sma so it would work with your plugin together?
+btw, can u make admin names colored too?
Owyn is offline
Send a message via ICQ to Owyn
Old 11-27-2007, 15:15
Angelina
This message has been deleted by Angelina.
Owyn
Veteran Member
Join Date: Nov 2007
Old 11-27-2007 , 15:20   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #29

there was a plugin that was changing name colors, but it doesn't work now, but i saw screens anyway :O
Owyn is offline
Send a message via ICQ to Owyn
Arion
Senior Member
Join Date: Mar 2007
Old 11-27-2007 , 18:02   Re: Admin Chat Colors [v1.3 - 27/11/2007]
Reply With Quote #30

@Owyn, silver color you mean white/gray? amx_color 3

I don't know how to fix this issue with translit right now.. Maybe if you PM me with all specifications I could give try..

@Angelina, I think the spec bug could not be fixed.. But there aren't many people who talks as spectator anyway.


I could add a command to change name color, but I'm in my tests week, so please be patient
__________________
Arion is offline
Send a message via MSN to Arion
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 15:32.


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