Garry's Mod Wiki


  SetGlobalString( any index, string string )


Defines a string with a maximum of 199 characters to be automatically networked to clients

There's a 4095 slots Network limit. If you need more, consider using the net library or SetGlobal2String. You should also consider the fact that you have way too many variables. You can learn more about this limit here: Networking_Usage
If you want to have a higher characters limit use SetGlobal2String
Running this function clientside will only set it clientside for the client it is called on!


1 any index
Index to identify the global string with
2 string string
String to be networked