net.ReadInt

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

Description

Reads an integer from the received net message.

WARNING

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

Arguments

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

number

The read integer number, or 0 if no integer could be read.
Personal tools
Navigation