net.ReadHeader

From Garry's Mod
Jump to: navigation, search
 net.ReadHeader( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.

Reads a word, basically unsigned short. This is used internally to read the "header" of the message which is an unsigned short which can be converted to the corresponding message name via util.NetworkIDToString.

Returns

number

The header number
Personal tools
Navigation