Revision Difference
Global.PrintMessage#517811
<function name="PrintMessage" parent="Global" type="libraryfunc">
<description>
Displays a message in the chat, console, or center of screen of every player.
This uses the archaic user message system (<page>umsg</page>) and hence is limited to &asymp;250 characters.
This uses the archaic user message system (<page>umsg</page>) and hence is limited to ≈250 characters.
</description>
<realm>Server</realm>
<args>
<arg name="type" type="number">Which type of message should be sent to the players (see <page>HUD</page>)</arg>
<arg name="type" type="number">Which type of message should be sent to the players (see <page>HUD</page>)</arg>
<arg name="message" type="string">Message to be sent to the players</arg>
</args>
</function>
<example>
<description>Prints into the every player's chat: "I'm new here."</description>
<code>PrintMessage(HUD_PRINTTALK, "I'm new here.")</code>
<output>I'm new here.</output>
</example>