net.BytesWritten

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

Description

Returns the size of the current message in bytes.

NOTE

This will include 3 extra bytes used by the engine internally to send the data over the network.

Returns

number

The amount of bytes written to the current net message.

Returns nil if no net message has been started.

Returns

number

The amount of bits written to the current net message.

Returns nil if no net message has been started.
Personal tools
Navigation