Garry's Mod Wiki

Garry's Mod Wiki

  any net.ReadType( number typeID = net.ReadUInt(8) )

Description

This is used internally - although you're able to use it you probably shouldn't. Used internally by net.ReadTable.

Reads a value from the net message with the specified type, written by net.WriteType.

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

Arguments

1 number typeID = net.ReadUInt(8)
The type of value to be read, using TYPE enum.

Returns

1 any
The value, or the respective blank value based on the type you're reading if the value could not 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...