net.WriteVector
Description
Appends a vector to the current net message.
Vectors sent by this function are compressed, which may result in precision loss. XYZ components greater than 16384
or less than -16384
are irrecoverably altered (most significant bits are trimmed) and precision after the decimal point is low.
Arguments
Example
Create a server-side command to send a vector to all clients, and a function to receive the vector on the client-side. This example displays the vector compression discussed above.
Output: RECV: vec = 10000.000000 3616.000000 -3616.093750