Revision Difference
Global.SendUserMessage#517799
<function name="SendUserMessage" parent="Global" type="libraryfunc">
<description>
<deprecated>This uses the <page>umsg</page> internally, which has been deprecated. Use the <page>net</page> instead.</deprecated>
Send a usermessage
<note>Useless on client, only server can send info to client.</note>
</description>
<realm>Shared</realm>
<args>
<arg name="name" type="string">The name of the usermessage</arg>
<arg name="recipients" type="any">Can be a <page>CRecipientFilter</page>, <page>table</page> or <page>Player</page> object.</arg>
<arg name="recipients" type="any">Can be a <page>CRecipientFilter</page>, <page>table</page> or <page>Player</page> object.</arg>
<arg name="args" type="vararg">Data to send in the usermessage</arg>
</args>
</function>