Browse documentationox_target
On this page
Resource guide

ox_target

Precise interactions in a smaller, quieter interface.

StandaloneOx CoreQboxESXND CoreOX LibOX Inventoryqtarget APIFiveM
Resource page View source
Version
v1.17.3
Updated
Aug 15, 2026
License
MIT
01 / OVERVIEW

Start here

Use this ox_target edition when you want the established entity, model, global-option, and zone APIs with a compact interface that matches the drs_Dev ox_lib rework. The fork is pinned to 1.17.3, provides the qtarget API name, and detects supported framework and inventory adapters when it starts.

02 / REQUIREMENTS

What you need

Requiredox_lib 3.30.0 or newer
FrameworksStandalone, Ox Core 0.21.3+, Qbox 1.18.0+, ESX, or ND Core
Optionalox_inventory for item-restricted options
Restricted optionsRequire a supported loaded adapter; fallback checks allow access
Resource nameMust remain ox_target
03 / INSTALLATION

Install and start

  1. 01

    Back up any existing ox_target folder and configuration before replacing it.

  2. 02

    Place the repository in your FiveM resources as ox_target.

  3. 03

    Start ox_lib, the selected framework, and ox_inventory when used before ox_target.

  4. 04

    Review the targeting keybind and convars, then validate zones, entities, groups, and item filters in-game.

Recommended start orderplain text
ensure ox_lib
ensure your_framework       # when using group or job restrictions
ensure ox_inventory         # when using item-restricted options
ensure ox_target
ensure dependent_resources
04 / CONFIGURATION

Configuration checkpoints

01

Start adapters before the target resource

Start Ox Core 0.21.3+, qbx_core 1.18.0+, ESX, or ND Core before ox_target when options use framework group or job checks. Start ox_inventory first when options require item counts.

02

Set the interaction behavior

Configure the default key, hold-versus-toggle behavior, left-click selection, default interactions, sprites, and debug mode with server convars.

Exampleplain text
setr ox_target:defaultHotkey LMENU
setr ox_target:toggleHotkey 0
setr ox_target:leftClick 1
setr ox_target:defaults 1
setr ox_target:drawSprite 24
setr ox_target:debug 0
03

Tune the visual rework

The primary panel, border, hover, connector, typography, and sizing variables are located near the top of web/style.css.

04

Keep the resource identity

Leave the folder named ox_target. Dependent resources and the qtarget compatibility provider rely on the expected resource name and exported APIs.

05 / USAGE

Validate the resource

Validate the targeting loop

Hold Left Alt by default, focus a configured entity or zone, move to an available option, and select it. If the key was rebound, check the FiveM key-mapping settings.

Exercise the supported APIs

Test at least one zone, model option, network entity, local entity, and global ped or vehicle option before converting a live resource.

Use debug targets during setup

Enable the debug convar on a development server to load the included test zones and target definitions, then disable it for normal operation.

06 / TROUBLESHOOTING

Common checks

The target interface does not appear

Confirm ox_lib 3.30.0 or newer starts first, both folders use their exact names, and the LMENU key mapping has not been removed or rebound.

Item-restricted options are missing

Start ox_inventory before ox_target and verify the configured item name and minimum count. The inventory adapter is selected at startup.

Group or job restrictions behave incorrectly

Treat this as an authorization issue: without a supported adapter, the default group check returns true and restricted options can fail open. Confirm a compatible framework version was already running when ox_target started. Plain QBCore and qtarget API compatibility do not add QB job or gang enforcement.

An update prompt points away from this fork

The inherited version checker references CommunityOx. Review upstream changes manually before updating so the drs_Dev visual files are not overwritten.

07 / REFERENCE

Source and release notes

  • The repository is a manual visual derivative rather than a GitHub-marked fork; Overextended and CommunityOx lineage is credited in the source.
  • The current LICENSE and GitHub metadata are MIT. The README's GPL badge and sentence conflict with those files and should be corrected in the repository.
  • The published repository has no fork-specific screenshot or tagged release; this guide follows the August 15, 2026 snapshot.