> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/scripts/tgiann-radialmenu-target/installation.md). Agents can also search and read this documentation through its [MCP server](https://tgiann.gitbook.io/tgiann/~gitbook/mcp).

# Installation

### Requirements

* [ox\_lib](https://github.com/overextended/ox_lib)
* [tgiann-core](https://tgiann.com) (latest version)

### Steps

1. Put `tgiann-radialmenu-target` in your resources folder. Keep this folder name, other scripts and the exports use it.
2. Start it after ox\_lib and tgiann-core, and before the scripts that use ox\_target or qb-target exports:

```cfg
ensure ox_lib
ensure tgiann-core
ensure tgiann-radialmenu-target
```

3. Go through the files in `configs/` (see **Configs**).

The script needs no SQL. Player settings, favorites and command shortcuts are saved on each player's own PC.

### Target module

The target module is on by default and replaces ox\_target and qb-target. The resource `provide`s `ox_target` and `qb-target`, so scripts that list them as dependencies still start and their exports keep working.

{% hint style="warning" %}
Remove `ox_target`, `qb-target`, `qtarget` and `tgiann-target` from your server.cfg. Running them next to this script gives you two target systems.
{% endhint %}

Keep your current target script instead:

1. Set `enabled = false` in `configs/configTarget.lua`.
2. Delete these lines from `fxmanifest.lua`:

```lua
provide "ox_target"
provide "qb-target"
```

Only ox\_target compatibility: set `qbTargetCompat = false` and delete only the `provide "qb-target"` line.

### Keys

* **F3** opens the radial menu (`config.radialKeys.openMenu`). Players can change it in GTA Settings > Key Bindings > FiveM.
* **E** interacts with a target and **Alt** shows the target markers (when "Show markers on a key" is on). Players change both in the menu: Settings > Target. Server defaults are in `config.radialDefaultSettings`.

### HUD

`client/editable.lua` hides tgiann-lumihud while the menu or the settings panel is open. Change those functions if you use another HUD.

### Testing the target

Admins can run `/targettest` (`config.target.test.command`) to build a test area where they stand: a vehicle, peds, props and every zone type with sample options. Run it again to remove it. Keep `config.target.test.enabled` off on a live server.
