RE:CORD
REC_ObjectHunt

Exports

Configuration and integration for REC_ObjectHunt.
Added
Updated

Server side

isPlaying

Checks whether the player is playing; waiting in the lobby does not count.

ArgumentTypeDescription
srcintegerPlayer source ID

Returns boolean.

exports.REC_ObjectHunt:isPlaying(src)

isJoining

Checks whether the player belongs to an Object Hunt session.

ArgumentType
srcinteger

Returns: boolean.

exports.REC_ObjectHunt:isJoining(src)

getSessions

Returns current session information keyed by ID.

Takes no arguments.

Returns: table<string, ObjectHunt.Server.Class.Session.NuiData>.

exports.REC_ObjectHunt:getSessions()

Client side

isRunning

Checks whether the local player is in a running game.

Takes no arguments. Returns boolean.

exports.REC_ObjectHunt:isRunning()

getRole

Returns the local role, or nil outside a session.

Takes no arguments.

Returns: ObjectHunt.Shared.Enum.Role|nil.

exports.REC_ObjectHunt:getRole()
©2026 RE:CORD Development Group. All rights reserved.