forked from Mirrors/openclonk
40 lines
1.2 KiB
XML
40 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<func>
|
|
<title>Log</title>
|
|
<category>Messages</category>
|
|
<version>5.1 OC</version>
|
|
<syntax>
|
|
<rtype>bool</rtype>
|
|
<params>
|
|
<param>
|
|
<type>string</type>
|
|
<name>message</name>
|
|
<desc>Text to be displayed.</desc>
|
|
</param>
|
|
<param>
|
|
<type/>
|
|
<name>...</name>
|
|
<desc>Additional parameters for text formatting.</desc>
|
|
<optional />
|
|
</param>
|
|
</params>
|
|
</syntax>
|
|
<desc>Displays a text in the message board at the bottom of the screen. Parameters can be inserted in C formatting style. See <funclink>Format</funclink>.</desc>
|
|
<examples>
|
|
<example>
|
|
<code>Log("Moin, %s.", <funclink>GetPlayerName</funclink>(0));</code>
|
|
<text>Welcomes a player.</text>
|
|
</example>
|
|
</examples>
|
|
<related>
|
|
<funclink>Format</funclink>
|
|
<funclink>Message</funclink>
|
|
</related>
|
|
</func>
|
|
<author>Sven2</author><date>2001-11</date>
|
|
</funcs>
|