Garry's Mod Wiki

net.Start

boolean net.Start( string messageName, boolean unreliable = false )

Description

Begins a new net message. If another net message is already started and hasn't been sent yet, it will be discarded.

Each net message has a length limit of 64KB!
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

1 string messageName
The name of the message to send
2 boolean unreliable = false
If set to true, the message is not guaranteed to reach its destination

Returns

1 boolean
True if the message has been started.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 11