net.ReadString

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

Description

Reads a null terminated string from the net stream. The size of the string is 8 bits plus 8 bits for every ASCII character in the string.

WARNING

You must read information in same order as you write it.

Returns

string

The read string, or a string with 0 length if no string could be read.
Personal tools
Navigation