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

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


Post New Thread Reply   
 
Thread Tools Display Modes
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-07-2013 , 15:31   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #191

ConnorMcLeod, how about compatibility with player index = 0 and ML?
__________________

Last edited by isotonic; 05-07-2013 at 15:31.
isotonic is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-07-2013 , 17:13   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #192

Has always been compatible (plugin version).
Stock doesn't support ML i don't know why, and no other stock you can find.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-07-2013 , 19:08   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #193

Ohh. I believed you updated stock version too(
Thank you for sharing anyway!
__________________
isotonic is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-07-2013 , 19:31   Re: [Native/Stock] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #194

stock can't be updated with new "method" because some messages have to be sent to player each time he joins server, so if it was implemented in a stock, those message would be duplicated in each plugin using colorchat, and could possibly kick the player.
And ML wouldn't be supported with index = 0.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Old 05-07-2013, 20:42
Gr6Burns
This message has been deleted by asherkin. Reason: Spam.
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-03-2013 , 16:38   Re: [Dyn Native] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #195

So you have removed "DontChange" enum. Now, how do I print colored chat to all players according to their team?

Last edited by kNowo; 07-03-2013 at 16:40.
kNowo is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-03-2013 , 21:05   Re: [Dyn Native] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #196

Quote:
Originally Posted by kNowo View Post
So you have removed "DontChange" enum. Now, how do I print colored chat to all players according to their team?
Use the player id for the first and second arguments.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-04-2013 , 00:27   Re: [Dyn Native] ColorChat v0.3.0 (07 may 2013)
Reply With Quote #197

Quote:
Originally Posted by kNowo View Post
So you have removed "DontChange" enum. Now, how do I print colored chat to all players according to their team?
I've just edited, pass player index (as fysiks said) or 0 (0 was not supported in previous version).

So now you can use client_print_color(0, 0, ... so players gonna see their own team color.

And for specific player, was already working as client_print_color(id, id, ...) but know you can do client_print_colo(id, 0, ...) it is the same.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Guille3mette
BANNED
Join Date: Jul 2013
Old 07-04-2013 , 03:35   Re: Native : ColorChat
Reply With Quote #198

I think I will finally start using colorchat now

Last edited by Guille3mette; 07-04-2013 at 03:35.
Guille3mette is offline
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-04-2013 , 09:55   Re: [Dyn Native] ColorChat v0.3.1 (04 jul 2013)
Reply With Quote #199

Quote:
Originally Posted by fysiks View Post
Use the player id for the first and second arguments.
I would like to send to all(index= 0) and usign your method would require me to loop all the players and send client_print_color to each of them and use their index as sender param first instead of "client_print_color(0, DontChange, ..."

Quote:
Originally Posted by ConnorMcLeod View Post
I've just edited, pass player index (as fysiks said) or 0 (0 was not supported in previous version).

So now you can use client_print_color(0, 0, ... so players gonna see their own team color.

And for specific player, was already working as client_print_color(id, id, ...) but know you can do client_print_color(id, 0, ...) it is the same.
Nice. Another thing is, if the sender is in unassigned team, what would the color be? Normal or Grey?

EDIT: It's not working:

PHP Code:
client_print_color(00"^3Should me by team color. ^1Should be normal color"
Attached Thumbnails
Click image for larger version

Name:	untitled.jpg
Views:	285
Size:	9.7 KB
ID:	122121  

Last edited by kNowo; 07-04-2013 at 10:13.
kNowo is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-04-2013 , 12:46   Re: [Dyn Native] ColorChat v0.3.2 (04 jul 2013)
Reply With Quote #200

Yes, a case i hadn't think, fixed.
__________________
- 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 10:11.


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