native
zpn_print_color
Syntax
native zpn_print_color(const id, const sender, const msg[], any:...);
Description
Sends a prefixed colored chat message.
Parameters
| id | Client index, or 0 for all clients |
|---|---|
| sender | Client index or print_team_* constant used for team color |
| msg | Formatting rules |
| ... | Variable number of formatting parameters |
Note
This wraps client_print_color() and prepends the configured chat prefix.
Note
Use 0 as id to send to all connected clients.
Return
Number of printed characters
Error
If a single client is specified and the index is not within
the range of 1 to MaxClients, an error can be thrown by
client_print_color().