CC_LogMessage

Syntax

stock CC_LogMessage(id, const file[] = "", const input[], any:...)

Usage

id
Client index (use 0 to send to all players)
file
The log file that will be used
input
The message to send
...
Variable number of formatting parameters

Description

Sends a colored chat message and logs it at the same time.

Note

If the file name is not set, the default log file will be used instead.

Return

Length of the printed message