Skip to content

v1.0.2

Latest

Choose a tag to compare

@Github-Samuel Github-Samuel released this 13 Nov 00:53

Fixes

  • Vehicle trunks can be opened again. With inventory:target on, ox_inventory opens a trunk only through a target option: 1.5 m, and only from behind the car. ox_target measures that distance to where you aim on the car, so standing at the boot works. sd-interact measured it to the middle of the car, about 2.3 m from the boot, so the option never showed and no trunk could be opened.
    • An ox_target or qb-target option with no bone or offset now sits on the part of the entity nearest you, and its distance is measured from there. Options on a bone stay on the bone, and points made with sd-interact's own exports still sit in the middle.
  • Options from different scripts on the same entity no longer hide each other. Each script's options were a prompt of their own, all on the same spot, so only one of them could ever be picked. They are now one prompt: scroll through the options as usual, with the shortest-range ones first, so standing at the boot puts the trunk on top.

Install

Download sd-interact.zip below (not Source code) and replace your sd-interact folder with it. Your configs/ are unchanged from 1.0.1, so you can keep your own. The full guide is at docs.samueldev.shop/resources/interact.

sd-interact answers ox_target's exports, so restart it only with nobody on the server, then start again anything that stopped with it. Every script registers its options again when a player joins.