Quote:
Originally Posted by fysiks
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
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(0, 0, "^3Should me by team color. ^1Should be normal color")