Garry's Mod Wiki

SetGlobalVector

  SetGlobalVector( any index, Vector vec )

Description

Defines a vector to be automatically networked to clients

Running this function clientside will only set it clientside for the client it is called on!

Arguments

1 any index
Index to identify the global vector with
2 Vector vec
Vector to be networked