net.Start
Description
Begins a new net message. If another net message is already started and hasn't been sent yet, it will be discarded.
After calling this function, you will want to call net.Write
functions to write your data, if any, and then finish with a call to one of the following functions:
The net library has an internal buffer that sent messages are added to that is capable of holding roughly 256 kb at a time. Trying to send more will lead to the client being kicked because of a buffer overflow. More information on net library limits can be found here.
The message name must be pooled with util.AddNetworkString beforehand!
Net messages will not reliably reach the client until the client's GM:InitPostEntity hook is called.
Arguments
Returns
Example
Adds a console command that sends a message to all clients.