Garry's Mod Wiki

net.ReadVector

  Vector net.ReadVector()

Description

Reads a vector from the received net message. Vectors sent by this function are compressed, which may result in precision loss. See net.WriteVector for more information.

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

Returns

1 Vector
The read vector, or Vector( 0, 0, 0 ) if no vector could be read.