Installation

License: LGPL-3.0 (GNU Lesser General Public License v3.0)

This resource is based on ox_target which is licensed under LGPL-3.0.

⚠️ This redesign is a paid product. Only verified purchasers are eligible for support and updates. Unverified users will not receive any assistance under any circumstances.


Step 1: Download

  1. Download the ox_target redesign package from your purchase source
  2. Extract the archive

Step 2: Replace ox_target

  1. Backup your existing ox_target resource folder
  2. Replace the entire [ox]/ox_target folder with the redesign package
  3. Ensure the folder structure matches:
resources/
  [ox]/
    ox_target/
      config.cfg
      fxmanifest.lua
      client/
      server/
      web/
      web-vue/
      locales/
      ...

Step 3: Configure

Edit config.cfg in the ox_target root folder:

# Hotkey mode (0 = hold, 1 = toggle)
set ox_target:toggleHotkey 0

# Default activation key
set ox_target:defaultHotkey LMENU

# Show zone center sprite
set ox_target:drawSprite 1

# Default vehicle door options (0 = disabled, 1 = enabled)
set ox_target:defaults 0

# Debug mode
set ox_target:debug 0

# UI Design (0 = List, 1 = Wheel, 2 = Key)
set ox_target:design 0

# Mouse tracking mode (0 = fixed center, 1 = follow cursor)
set ox_target:mouse 1

# Dark mode (0 = light, 1 = dark)
set ox_target:darkmode 1

# Option keys for Key style (comma-separated)
set ox_target:optionKeys "Q,W,E,R,A,S,D,F,Z,X,C,V"

# Single option key
set ox_target:singleKey "E"

Step 4: Ensure in server.cfg

ensure ox_lib
ensure ox_target

⚠️ Important: ox_lib must start before ox_target.


Step 5: Restart Server

Restart your FiveM server to apply the changes.


Compatibility

This resource automatically provides compatibility with:

  • qb-target — All exports['qb-target'] calls will work
  • qtarget — All exports['qtarget'] calls will work

No additional configuration is needed for existing scripts that use qb-target or qtarget.


Troubleshooting

Target not showing

  1. Check that ox_target is started after ox_lib in server.cfg
  2. Hold ALT (default key) to activate targeting
  3. Verify no errors in the F8 console

Mouse mode not working

  1. Ensure ox_target:mouse is set to 1 in config.cfg
  2. Right-click to lock/unlock option position

Key style not responding

  1. Check that ox_target:design is set to 2
  2. Verify ox_target:optionKeys has valid key names
  3. Use ALT + assigned key to select options

Last updated: 2026-02-18

Last updated 1 month ago