Garry's Mod Wiki

net.ReadInt

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.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 5
Generate Html 5
SaveChanges 9
Render Body 0
Render Sidebar 10