Skip to content

Targeting

The crosshairs, the option styles, cursor mode, and everything else that changes on screen.

Hold Left Alt to start targeting, as with the official ox_target. Players can change the key in Settings › Key Bindings › FiveM, or switch to pressing it once in /oxtarget.

The crosshair sits in the middle of the screen. It takes the accent color when what you aim at has options.

Crosshair Value Look
Mini eye minieye A small eye. The default.
Eye eye An eye in a glass bubble.
Dot dot A dot in a ring.
Corners ticks Four corners around the center.
Mini dot minidot A single small dot.

The options show next to the crosshair as soon as you aim at something usable.

A glass panel, one row per option. The default.

Options in the list style
  1. While you aim at something, click with the left mouse button. The cursor shows on the options.
  2. Click an option. Targeting ends, and the option does its job.

An option with an arrow opens a submenu. Go back, at the top, returns to the previous one.

A submenu with Go back at the top
A submenu

Once the cursor shows, the keys 1 to 9 pick an option, and the numbers appear next to them. They only work while the options have the cursor, so they never clash with an inventory hotbar.

Options numbered 1 to 5 in the callout style
Shortcuts, with the callout style

In cursor mode (ox_target:mode "cursor", or in /oxtarget), holding the key shows a small pointer instead of the crosshair, and you aim with the mouse.

  • Over something usable, the pointer takes the accent color and the name of what it points at follows it.
  • A click opens the options right there.
  • Escape, or a click elsewhere, closes them.
The pointer over a car, with its name next to it
Pointing at a vehicle
Options opened where the pointer clicked
Its options, opened under the pointer

The pointer is an arrow or a dot (ox_target:cursor). The game camera doesn’t turn while you aim with the mouse.

The vehicle or object you aim at gets an outline in the accent color, and people get a small marker above their head. People are never outlined, because outlining a ped makes the game crash. Turn it off with ox_target:highlight "0".

Each option’s icon sits in a colored tile:

  • the iconColor a script gives fills the tile;
  • white, grey, black and transparent colors give a frosted tile instead, so the icon stays readable on every theme;
  • without iconColor, the tile takes the accent color.
  • Soft sounds play on hover and select (ox_target:sounds).
  • Reduced motion, in /oxtarget, replaces the bounces with simple fades.