Garry's Mod Wiki

net.ReadBool

  boolean net.ReadBool()

Description

Reads a boolean from the received net message.

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

Returns

1 boolean
true or false, or false if the bool could not be read.