Garry's Mod Wiki

net.ReadBit

  number net.ReadBit()

Description

Reads a bit from the received net message.

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

Returns

1 number
0 or 1, or 0 if the bit could not be read.