Garry's Mod Wiki

Revision Difference

net.Send#562999

<function name="Send" parent="net" type="libraryfunc"> <description>Sends the current net message (see <page>net.Start</page>) to the specified player, or to all players listed in the table.</description> <realm>Server</realm> <args>⤶ <arg name="ply" type="Player" alttype="CRecipientFilter">The player(s) to send the message to. Can be a table of players or a <page>CRecipientFilter</page>.</arg>⤶ </args>⤶ <description>Sends the current net message to the specified player(s)</description> <realm>Server</realm> <args name="Send to Single Player">⤶ <arg name="ply" type="Player">The player to send the message to.</arg>⤶ </args>⤶ <args name="Send to Multiple Players">⤶ <arg name="plys" type="table">A table of players to send the message to.</arg>⤶ </args>⤶ <args name="Send using Filter">⤶ <arg name="filter" type="CRecipientFilter">A recipient filter specifying message targets.</arg>⤶ </args>⤶ </function>