Garry's Mod Wiki


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


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.


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


1 any
The value, or the respective blank value based on the type you're reading if the value could not be read.