Garry's Mod Wiki

SetGlobal2Bool

  SetGlobal2Bool( any index, boolean bool )

Description

Defined a boolean 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 boolean with
2 boolean bool
Boolean to be networked