Category: Messages
Since engine version: 1.0 OC
Message
Description
Displays a message. Text can be formatted in C formatting style (see Format).
Syntax
bool Message(string message, ...);
Parameters
- message:
- Message to be displayed.
- ...:
- [opt] Additional formatting parameters
Remark
Using the character "|" you can insert a line break.
Example
Message("Hello %s!|I am your clonk %s!", GetPlayerName(GetOwner()), GetName());
This script will pop up a message above the clonk's head.