Static function
Moderate
Client.SetValue
Sets a global value in the Client, which can be accessed from anywhere (client side)<br/><br/>Please refer to <a href="/docs/core-concepts/scripting/entity-values">Entity Values</a> for more information
Syntax
Client.SetValue(key, value)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
key
|
string | — | Key |
value
|
any | — | Value |