> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectx.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Step by step instructions to install the Bounty Hunter resource

## Installation Steps

**1. Install required dependencies**

> [!WARNING]
>
> Verify all dependencies below are started **before** this script in your `server.cfg`. Start order should be: Dispatch → Bridge → projectx-ui → Script.

> [card] [ox\_lib](https://github.com/CommunityOx/ox_lib/releases/latest)
>
> Download ox\_lib

> [card] [projectx-bridge](https://docs.projectx.gg/resources/bridge/installation.md)
>
> Required Project X Bridge

> [!NOTE]
>
> **OneSync** must be enabled on your server.

> [!NOTE]
>
> **Optional:** `projectx-ui` is used for the handler's cinematic dialog (`Config.Dialog = "projectx"`) and the contract task tracker (`Config["Project X Tasks"]`). Without it, the handler falls back to an ox\_lib alert dialog and no task tracker is shown.

**2. Extract and place the resource**

Extract the script from the zip file and place it into your scripts folder.

> [!NOTE]
>
> No map, items, or minigames are required. All locations use default GTA areas.

**3. Configure the resource**

Open `config/config.lua` and adjust the handler location, tiers, target locations, and payout to match your server. The bridge handles framework, inventory, dispatch, and interaction automatically if set to `'auto'`.

**4. Add to server.cfg**

Make sure the bridge, ox\_lib, your target, dispatch, and inventory are all started before the bounty hunter script.

```cfg theme={null}
ensure ox_lib
ensure projectx-bridge
ensure projectx-ui # optional, for the dialog and task tracker

ensure projectx-bountyhunter
```

## Items Required

No items are required by default.

* To require an item for taking the photo of the body, set `Config.Proof.Item` (e.g. `"phone"`).
* To pay contracts out as an item (e.g. `black_money` or marked bills), set `Config.Payout.Type = "item"` and make sure the item exists in your inventory.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.