Garry's Mod Wiki

SetGlobal2String

  SetGlobal2String( any index, string string )

Description

Defines a string with a maximum of 511 characters 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 string with
2 string string
String to be networked