Server API
getMoney
Server API for REC_Core, with configuration and implementation details.
- Added
- Updated
Server side
Return an account balance, or nil when the account or character is unavailable.
| Argument | Type | Description |
|---|---|---|
playerId | integer | Connection ID; use a positive integer unless the export explicitly accepts the console. |
account | string | Configured account name, such as cash or bank. |
Returns integer|nil.
exports.REC_Core:getMoney(playerId, account)
