Garry's Mod Wiki



net.WriteType( any Data )


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

Appends any type of value to the current net message.

An additional 8-bit unsigned integer indicating the type will automatically be written to the packet before the value, in order to facilitate reading with net.ReadType. If you know the data type you are writing, use a function meant for that specific data type to reduce amount of data sent.


1 any Data
The data to be sent

Special Pages



Render Time: 53ms

DB GetPage 37
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6