net.ReadVector

From Garry's Mod
Jump to: navigation, search
 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.

WARNING

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

Returns

Vector

The read vector, or Vector(0,0,0) if no vector could be read.
Personal tools
Navigation