> For the complete documentation index, see [llms.txt](https://trclassic.gitbook.io/trclassic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trclassic.gitbook.io/trclassic/tr-hunting-v2/install.md).

# Install

## QBCore

### Step One

* Download the resource from keymaster <https://keymaster.fivem.net/>
* Then once you have done that download all the depended resources required to run the resource!

### Step Two

* Add the resource to your resource folder.

### Step Three

* Add the images from the img folder to ox inventory by going to **\ox\_inventory\web\images**
* Then add the weapon to the following areas

### OX Weapon.lua

```lua
		['WEAPON_HUNTINGRIFLE'] 		 = { label = 'Hunting Rifle',    weight = 1000,	durability = 0.0,	ammoname = 'ammo-sniper',},
```

### QBCore Item.lua

```lua
	weapon_huntingrifle 		 = {name = 'weapon_huntingrifle', 	 	  	label = 'Hunting Rifle', 			weight = 23000, 	type = 'weapon', 	ammotype = 'AMMO_SNIPER',			image = 'weapon_huntingrifle.png', 					unique = true, 		useable = false,created = nil,	description = 'A very accurate Rifle for hunting'},
```

### QBCore weapon.lua

```lua
	[`weapon_huntingrifle`] 		 = {name = 'weapon_huntingrifle', 	 	label = 'Hunting Rifle', 				ammotype = 'AMMO_SNIPER',	damagereason = 'Ended / Sniped / Shot down / Floored'},

```

### qb-weapons

```lua
 weapon_huntingrifle 	     = 0.20,
```

### If Using Renewed Weapon Carry

```lua
    weapon_huntingrifle  = {
        slot = 1,
    },
```

### Visit Items page!

Once you have done all these steps you can go ahead and visit the config and or start the resource by adding it to your server cfg\
\
\- Any new dispatch system will need to be suggested in the discord so it can be added to the resource its self!

## QBOX Install

Follow the same steps as above! then add this convar into your server.cfg (Here is information about it)\
\
Provides compatibility with the bridge system they have created. More information can be found here on their Docs [(Link)](https://docs.qbox.re/resources/qbx_core/convars#qbxenablebridge)\
\
&#x20;`setr qbx:enableBridge "true"`&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://trclassic.gitbook.io/trclassic/tr-hunting-v2/install.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
