CloudVariableBank.SetVariable(string key, any value)
Creates a cloud variable with specified key and value. If the key already exists, it updates its value.
Parameters:
Name | Type | Description |
---|---|---|
key | string | The key to associate the value to. |
value | any | The value of this variable. |
Usage
---@type CloudVariableBank
local cloudvariablebank;
---@type string
local key;
---@type any
local value;
cloudvariablebank.SetVariable(key, value)
Extra Detail
Note that the only allowed types can be saved in the server.