Signature
native console_print(id, const message[], any:...);
Description
Sends a message to the console of a client or the server.
Parameters
- id — Client index, or 0 to print to the server console
- message — Formatting rules
- ... — Variable number of formatting parameters
Returns
Number of printed characters
Errors
-
If a single client is specified and the index is not within
the range of 1 to MaxClients, an error will be thrown.