View Single Post
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 #8

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