net.Start

From Garry's Mod
Jump to: navigation, search
 net.Start( )

Contents

Description

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

WARNING

Each net message has a length limit of 64KB!

WARNING

The message name must be pooled with util.AddNetworkString beforehand!

Arguments

string messageName

The name of the message to send

Arguments

boolean unreliable=false

If set to true, the message is not guaranteed to reach its destination

Returns

boolean

True if the message has been started.
Personal tools
Navigation