ns-target
NullSect Target: a third-eye target system that replaces ox_target, qtarget and qb-target without touching the scripts that use them. Built for Qbox, works with QBCore, ESX and standalone.
Features
- Drop-in compatible. Scripts keep calling
exports.ox_target:*,exports.qtarget:*orexports['qb-target']:*. ns-target answers all three APIs (zones, models, entities, global types, sub menus,groups/items/canInteract, qb-target's job / gang / item / citizenid filters,SpawnPed, getters and setters). - See what you can use. While the key is held, nearby interactable spots get a small diamond marker; close ones show their name. Global "every ped / every vehicle" options are not marked, so the screen stays clean.
- Tactical HUD look. A frame around the aimed target, a thin line to the menu, a title (
ATM // 03 options), monospace rows with[1] [2] [3]. - Mouse or number keys. Left click puts the cursor on the menu;
1-9pick an option directly. - Nothing runs while the key is up. Markers, rays and the menu only work while targeting is open.
- Names that make sense. A script can give a target a
title; otherwise well-known models (ATM, vending machine, fuel pump ...) are named fromdata/names.lua; otherwise the first option's label is used. - ox_target's default vehicle options (doors, bonnet, boot), with a server-side distance check for other players' cars.
- English and Turkish, local fonts and icons (no internet needed in game).
Requirements
- ox_lib
- Qbox (recommended), QBCore, ESX legacy or standalone
- Not at the same time as the real ox_target / qb-target / qtarget (ns-target replaces them)
Quick start
- Remove the real
ox_target(andqb-target/qtargetif you have them) from your resources folder. - Put
ns-targetin your resources. Copyns-target/compat/ox_targetnext to it (andcompat/qb-target,compat/qtargetif your scripts use those). - In
server.cfg, startns-targetbefore the shims and before the scripts that use targets:ensure ox_lib ensure ns-target ensure ox_target # the shim from ns-target/compat - Restart the server and hold Left Alt next to an ATM.
Full guide: INSTALLATION.md · Settings: CONFIGURATION.md · Internals: ARCHITECTURE.md