net.WriteUInt

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

Description

Appends an unsigned integer with the specified number of bits to the current net message.

Arguments

number unsignedInteger

The unsigned integer to be sent.

Arguments

number numberOfBits

The size of the integer to be sent, in bits. Acceptable values range from any number 1 to 32 inclusive. For reference, 1 = bit, 4 = nibble, 8 = byte, 16 = short, 32 = long.
Personal tools
Navigation