net.ReadUInt
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.
Garry's Mod
Rust
Steamworks
Wiki Help