Server API
getValue
Server API for REC_Core, with configuration and implementation details.
- Added
- Updated
Server side
Read one value in a namespace.
| Argument | Type | Description |
|---|---|---|
playerId | integer | Connection ID; use a positive integer unless the export explicitly accepts the console. |
namespace | string | Value-store namespace. |
dataKey | string | Key inside the namespace. |
Returns any.
exports.REC_Core:getValue(playerId, namespace, dataKey)
