Thread
:
Admin Chat Colors [v2.0 - 12/10/2007]
View Single Post
Arion
Senior Member
Join Date: Mar 2007
11-26-2007 , 19:22 Re: Admin Chat Colors [v1.2 - 26/11/2007]
#
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?
__________________
My plugins:
Admin Chat Colors
Custom Frags And Deaths
1337 Admins
Last edited by Arion; 11-27-2007 at
13:20
.
Arion
View Public Profile
Send a private message to Arion
Find More Posts by Arion