Garry's Mod Wiki

Revision Difference

umsg.Start#511882

<function name="Start" parent="umsg" type="libraryfunc">⤶ <description>⤶ <deprecated>You should be using <page>net</page> instead</deprecated>⤶ ⤶ Starts a new usermessage.⤶ ⤶ <warning>Usermessages have a limit of only 256 bytes!</warning>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="name" type="string">The name of the message to be sent.</arg>⤶ <arg name="filter" type="Player">If passed a player object, it will only be sent to the player, if passed a &lt;page&gt;CRecipientFilter&lt;/page&gt; of players, it will be sent to all specified players, if passed nil (or another invalid value), the message will be sent to all players.</arg>⤶ </args>⤶ </function>⤶ ⤶