Garry's Mod Wiki

Revision Difference

net.Broadcast#510594

<function name="Broadcast" parent="net" type="libraryfunc">⤶ <description>⤶ Sends the currently built net message to all connected players.⤶ More information can be found in <page>Net Library Usage</page>.⤶ </description>⤶ <realm>Server</realm>⤶ </function>⤶ ⤶ <example>⤶ <description>Sends a packet to all players.</description>⤶ <code>⤶ net.Start("NETHOOK")⤶ net.WriteString("some text")⤶ net.Broadcast()⤶ </code>⤶ ⤶ </example>