Garry's Mod Wiki

Garry's Mod Wiki

  SetGlobalBool( any index, boolean bool )

Description

Defined a boolean to be automatically networked to clients

There's a 4095 slots Network limit. If you need more, consider using the net library or SetGlobal2Bool. You should also consider the fact that you have way too many variables. You can learn more about this limit here: Networking_Usage
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 boolean with
2 boolean bool
Boolean 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 four times a day. Edits and history are not available.

Last Parsed: Loading...