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

[Dyn Native] ColorChat v0.3.2 (04 jul 2013)


Post New Thread Reply   
 
Thread Tools Display Modes
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 11-11-2013 , 01:55   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #251

It is implemented in the core of amxmodx 1.8.3. When the update comes, you won't need the include.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]
tonykaram1993 is offline
Old 11-11-2013, 02:13
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: you continue
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 11-22-2013 , 04:57   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #252

bro if the ct use this wht color will be display tu T same blue or red.?

PHP Code:
new name[33];
get_user_name(idname32)
ColorChat(0GREEN"^x04%s ^x03%s ^x04Has Reset His Score!!"PREFIXname
xxxperts is offline
LordOfNothing
BANNED
Join Date: Jul 2013
Old 11-22-2013 , 11:34   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #253

PREFIX = Green
name = Normal chat color
Player Message = Green
LordOfNothing is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-22-2013 , 12:52   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #254

Quote:
Originally Posted by xxxperts View Post
bro if the ct use this wht color will be display tu T same blue or red.?

PHP Code:
new name[33];
get_user_name(idname32)
ColorChat(0GREEN"^x04%s ^x03%s ^x04Has Reset His Score!!"PREFIXname
This code doesn't belong to this thread's colorchat, there is no answer to your question.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
FLAiTE
Member
Join Date: Aug 2008
Old 12-25-2013 , 11:24   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #255

Hey Connor. It's fantastic what you've done here.
I have a question.
For example if i have in the SMA the following line:

client_print_color(0, RED, "%L", LANG_PLAYER, "RENAME_NOTIFY_ALL", playerName, reason[phraseIdx])

And in the ML file the line:

RENAME_NOTIFY_ALL = !nChanging !g%s!n's name. The reason: !t%s

The reason is displayed as BLUE (CT), RED (TERRO) and GREY (SPEC)m even though i used RED as the 2nd argument.
Is there a way to print it as RED for all players?
i used register_dictionary_colored
FLAiTE is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-25-2013 , 16:50   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #256

I can't believe it, anyway, use Red, not RED, and if you can, install amxx1.8.3 and uninstall this plugin, colorchat is integrated in amxx1.8.3
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
FLAiTE
Member
Join Date: Aug 2008
Old 12-25-2013 , 23:13   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #257

Quote:
Originally Posted by ConnorMcLeod View Post
I can't believe it, anyway, use Red, not RED, and if you can, install amxx1.8.3 and uninstall this plugin, colorchat is integrated in amxx1.8.3
actually, it was working...sorry man, my stupidity.
I downloaded the beta version of AMXMODX (just to see how the function was integrated).
I noticed that "register_dictionary_colored" doesn't work with this version...
to modify the ML files, in AMXMODX v1.8.3+, i need to use:

^3 instead of !t
^4 instead of !g
^1 instead of !n

* ↑ is this right? *

anyway, i want to congratulate you again...you have made this old game way more beautiful !

Last edited by FLAiTE; 12-25-2013 at 23:15.
FLAiTE is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-26-2013 , 04:05   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #258

Yes, this is the right way, format ML file as you would format in sma.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
FLAiTE
Member
Join Date: Aug 2008
Old 12-27-2013 , 14:29   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #259

Quote:
Originally Posted by ConnorMcLeod View Post
Yes, this is the right way, format ML file as you would format in sma.
i have another question...
if i want to use colorchat for stuff like this:

PHP Code:
format(message127"%c[G]*ALIVE*%s :    %s^n"2namemessage);
...........................
message_begin(MSG_ONE,gmsgSayText,{0,0,0},players[i]);
write_byte(id);
write_string(message);
message_end(); 
* it's the old GhostChat plugin - it can be found here.

how can i use colorchat for stuff like that?
FLAiTE is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2013 , 16:53   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #260

Yes, start message with ^2
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
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 08:48.


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