Garry's Mod Wiki

Garry's Mod Wiki

  SetGlobal2Var( any index, any value )

Description

Defines a variable to be automatically networked to clients

Allowed Types
Angle
Boolean
Entity
Float
Int
String
Vector
Trying to network a type that is not listed above will result in a nil value!
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 any value
Value to be networked

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...