Garry's Mod Wiki

net.WriteType

void net.WriteType( any Data )

Description

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.

Arguments

1 any Data
The data to be sent

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 7