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

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


Post New Thread Reply   
 
Thread Tools Display Modes
rumqna.bs
Junior Member
Join Date: Aug 2010
Location: Bulgaria, Burgas
Old 12-22-2012 , 08:01   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #181

Quote:
Originally Posted by wAyz View Post
I think it's Stock. Anyway I just want to put a specific color (RED in this case) for each team.
Not blue for CT, nor grey for SPEC. For Example as CT it looks like this:

http://forums.alliedmods.net/attachm...5&d=1354234737

Found the line in the *.sma file but I don't know how to put it in Colorchat without compile errors.

Code:
PrintActivity(admin_name, "^x04[AdvancedBans] $name^x01 :^x03  banned %s. Reason: %s. Ban Length: %s", target_name, arg, unban_time);
to something like this:

Code:
ColorChat(id, RED...);
But I don't know how to do it :/
PHP Code:
client_print_color(idRed"[AdvancedBans] %s : banned  %s. Reason: %s. Ban Length: %s"admin_nametarget_nameargunban_time); 
or
PHP Code:
ColorChat(idRED"[AdvancedBans] %s : banned  %s. Reason: %s. Ban Length: %s"admin_nametarget_nameargunban_time); 

Last edited by rumqna.bs; 12-22-2012 at 08:02.
rumqna.bs is offline
Send a message via Skype™ to rumqna.bs
h3r01n4
Junior Member
Join Date: Nov 2012
Old 12-28-2012 , 12:56   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #182

Code:
Load fails: Module/Library "chatcolor" required for plugin.  Check modules.ini
help me please
h3r01n4 is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 12-28-2012 , 19:23   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #183

To use fake native version you need have separate plugin for colorchat running.
__________________

Last edited by isotonic; 12-28-2012 at 19:23.
isotonic is offline
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-16-2013 , 08:50   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #184

it can be like that?
Code:
client_print_color(0,.....

Last edited by GhostMan; 04-16-2013 at 08:50.
GhostMan is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-16-2013 , 12:31   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #185

Sure, and support LANG_PLAYER with index = 0
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-18-2013 , 10:46   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #186

So this is totaly fine?

Quote:
client_print_color(0, Red, "%L", LANG_PLAYER, "DEAD")
GhostMan is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-18-2013 , 11:51   Re: [Native/Stock] ColorChat v0.2.1 (28 dec 2010)
Reply With Quote #187

Seems ok.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-07-2013 , 13:28   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #188

New version (0.3.0).

Now second param can be either a color, either a player index, in the second case, player team color gonn be used.
Doesn't change anymore players team info !!

Note : You have to recompile all plugins with new .inc file because Red, Blue and Grey values has changed.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Estland
Member
Join Date: Nov 2012
Old 05-07-2013 , 13:35   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #189

Quote:
Originally Posted by ConnorMcLeod View Post
Note : You have to recompile all plugins with new .inc file because Red, Blue and Grey values has changed.
What do you mean with that?
Estland is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-07-2013 , 13:40   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #190

There is no backward compatibility if you were using previous colorchat version and compiled plugins, so what i mean is you have to recompile all plugins that use colorchat and that were compiled against previous .inc file version.
__________________
- 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 06:16.


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