Skip to content

v1.0.0

Choose a tag to compare

@Github-Samuel Github-Samuel released this 12 Nov 02:20
· 6 commits to main since this release

First release

Floating interaction prompts, drawn on the thing you look at.

  • On the thing, not on the screen. The prompt is painted into the game's frame at the point, pinned to the world with no lag and sharp at any resolution.
  • Press, scroll, hold. Options stack on a drum. Hold options draw an outline round the tile as you hold. Other points in range show as dots that merge when they crowd together, and a prompt behind a wall doesn't open.
  • Keyboard and controller. Confirm, next and previous are FiveM key mappings, so players can rebind them, and the prompt shows the pad button on a controller.
  • A small API. Points on coordinates, entities (with offsets and bones), models and every vehicle, ped, object or player nearby. Options take ox_target's handler fields and groups, and canInteract can change a label as things change.
  • A stand-in for your target. With setr sd_interact:replace "ox_target,qtarget", it answers ox_target, qtarget and qb-target exports with prompts, so existing scripts use it unchanged.

Install and docs

Download sd-interact.zip below (not Source code), unzip it into your resources and ensure sd-interact after ox_lib. The full guide, with examples, every export and the target replacement, is at docs.samueldev.shop/resources/interact.