Server API
setValues
Server API for REC_Core, with configuration and implementation details.
- Added
- Updated
Server side
Update the supplied keys. Returns true when at least one key succeeds; other keys are retained.
| Argument | Type | Description |
|---|---|---|
playerId | integer | Connection ID; use a positive integer unless the export explicitly accepts the console. |
namespace | string | Value-store namespace. |
values | table<string, any> | Key/value table to update; not a full namespace replacement. |
Returns boolean.
exports.REC_Core:setValues(playerId, namespace, values)
