Garry's Mod Wiki
Description
Reads a table from the received net message.
See net.WriteTable for extra info.
Sometimes when sending a table through the net library, the order of the keys may be switched. So be cautious when comparing (See example 1).
You may get net.ReadType: Couldn't read type X
during the execution of the function, the problem is that you are sending objects that cannot be serialized/sent over the network.
You must read information in same order as you write it.
Arguments
Returns
Example
This is an example of how the keys order may be switched:
Output: Client:
Type = "Dining"
Legs = 4
Material = "Wood"
Legs = 4
Material = "Wood"
Type = "Dining"
Server:
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...