Garry's Mod Wiki

Garry's Mod Wiki

  number net.ReadInt( number bitCount )

Description

Reads an integer from the received net message.

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

Arguments

1 number bitCount
The amount of bits to be read.

This must be set to what you set to net.WriteInt. Read more information at net.WriteInt.

Returns

1 number
The read integer number, or 0 if no integer could be read.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...