native

console_print

Syntax

native console_print(id, const message[], any:...);

Description

Sends a message to the console of a client or the server.

Parameters

index Client index, or 0 to print to the server console
message Formatting rules
... Variable number of formatting parameters

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 will be thrown.