Server API
setCharinfo
Server API for REC_Core, with configuration and implementation details.
- Added
- Updated
Server side
Update a profile field. Creation-time name and birthdate validation is not applied here.
| Argument | Type | Description |
|---|---|---|
playerId | integer | Connection ID; use a positive integer unless the export explicitly accepts the console. |
key | string | Profile or metadata key. |
value | string|number|boolean|table|nil | JSON-serializable value; nil deletes the key. |
Returns boolean.
exports.REC_Core:setCharinfo(playerId, key, value)
