net.ReadUInt

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

Description

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

WARNING

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

Arguments

number numberOfBits

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

Returns

number

The unsigned integer read, or 0 if the integer could not be read.
Personal tools
Navigation