net.WriteUInt

From Garry's Mod
Revision as of 22:47, 16 April 2016 by Code gs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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