Garry's Mod Wiki


  string net.ReadString()


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.

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


1 string
The read string, or a string with 0 length if no string could be read.