For the complete documentation index, see llms.txt. This page is also available as Markdown.

Interact

The interact bridge powers every zone interaction in rcore_housing - entry doors, storage, wardrobe, garage, management.

๐Ÿ”Ž Auto Detection

Config.InteractSystem = AUTO_DETECT

Auto-detection order: ox_target โ†’ qb-target โ†’ standalone keypress.

Override with InteractSystem.OX, InteractSystem.QB, or InteractSystem.NONE to force a specific bridge.

๐Ÿงฉ Per-Resource Setup

Resource: ox_target - recommended.

No additional configuration required. The bridge registers ox_target zones for every property and furniture interaction.

ensure ox_target
ensure rcore_housing

Resource: qb-target

No additional configuration required. The bridge registers qb-target zones.

ensure qb-target
ensure rcore_housing

No target resource - interactions use a keypress + marker fallback.

Config.InteractSystem = InteractSystem.NONE

The keypress hint UI style is controlled by Config.Zones.InteractHelp:

Value
Behaviour

INTERACT_HELP.NUI

Styled NUI hint at the bottom of the screen.

INTERACT_HELP.NATIVE

GTA native text helper at the top.

Marker style, color, and rotation are configured under Config.Zones.Marker - see main config.

๐Ÿงช Debug

Config.Zones.TargetDebug = true

When true, target zones are drawn with debug visuals. Only enable on development servers.

Last updated