Revision Difference
net.Broadcast#546002
<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.Start( "MyNetworkString" )
net.WriteString( "some text" )
net.Broadcast()
</code>
⤶
</example></example>