Garry's Mod Wiki

Garry's Mod Wiki

  number, number net.BytesWritten()

Description

Returns the size of the current message.

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

Returns

1 number
The amount of bytes written to the current net message. Returns nil if no net message has been started.
2 number
The amount of bits written to the current net message. Returns nil if no net message has been started.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...