Garry's Mod Wiki

Garry's Mod Wiki

  number net.ReadUInt( number bitCount )

Description

Reads an unsigned integer with the specified number of bits from the received net message.

You must read information in same order as you write it.

Arguments

1 number bitCount
The size of the integer to be read, in bits.

This must be set to what you set to net.WriteUInt. Read more information at net.WriteUInt.

Returns

1 number
The unsigned integer read, or 0 if the integer could not be read.

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...