net.WriteType

From Garry's Mod
Revision as of 11:06, 31 January 2016 by Shendow (Talk | contribs)
Jump to: navigation, search
 net.WriteType( )

Description

Appends any type of value to the current net message.

Arguments

any Data

The data to be sent. A UInt(8) indicating the type will automatically be written to the packet before the value, in order to facilitate reading with net.ReadType.
Personal tools
Navigation