Server API
getCitizenIdByPlayerId
Server API for REC_Core, with configuration and implementation details.
- Added
- Updated
Server side
Resolve a connection ID to the loaded character ID.
| Argument | Type | Description |
|---|---|---|
playerId | integer | Connection ID; use a positive integer unless the export explicitly accepts the console. |
Returns string|nil.
exports.REC_Core:getCitizenIdByPlayerId(playerId)
