net.BytesLeft

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

Description

Returns the amount of data left to read in the current message in bytes. Does nothing when sending data.

Returns

number

The amount of data left to read in the current net message in bytes.

Returns nil if no net message has been started.

Returns

number

The amount of data left to read in the current net message in bits.

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