Log

Category: Messages
Since engine version: 4.6.5.0 CP

Description

Displays a text in the message board at the bottom of the screen. Parameters can be inserted in C formatting style. See Format.

Syntax

void Log (string szMessage,  ...);

Parameters

szMessage:
Text to be displayed
...:
[opt] Additional parameters for text formatting

Example

Log("Moin, %s.", GetPlayerName(0));
Welcomes a player
See also: DebugLog, Format, Message
Sven2, November 2001