nanos world API Reference Unofficial documentation
Static function Client 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

Lua
Client.SetValue(key, value)

Parameters

Name Type Default Description
key string Key
value any Value