net.WriteBit

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

Description

Appends a boolean (as 1 or 0) to the current net message.

Please note that the bit is written here from a boolean (true/false) but net.ReadBit returns a number.

Arguments

boolean boolean

Bit status (false = 0, true = 1)
Personal tools
Navigation