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

# Rup-Fishing

## Installation

* [ ] Drag and drop the `rup-fishing` folder into your `resources` directory.
* [ ] Check the `[INSTALL_ME]` folder and install images and items.
* [ ] Add `ensure rup-fishing` to your `server.cfg`.
* [ ] Configure the script in `Config.lua` to your liking.
* [ ] You're good to go! 🎣

## Snippets

* You might need a store to buy bait and the rod from...

{% tabs %}
{% tab title="ox\_inventory" %}
{% code title="data\shops.lua" overflow="wrap" %}

```lua
	FishingShop  = {
		name = 'Fishing Shop',
		blip = {
			id = 317, colour = 3, scale = 0.7
		}, inventory = {
			{ name = 'fishingrod', price = 250, },
			{ name = 'fishbait', price = 5, },
		}, locations = {
			vec3(-1600.64, 5204.15, 4.31),
		}, targets = {
			{ ped = `a_m_m_farmer_01`, scenario = 'WORLD_HUMAN_STAND_IMPATIENT', loc = vec3(-1600.64, 5204.15, 4.31 - 1), heading =  27.50,},
		}
	},
```

{% endcode %}
{% endtab %}

{% tab title="qb-inventory" %}
Work In Progress\
\
Make a PR if you do it please it would mean a lot :D
{% endtab %}
{% endtabs %}

Enjoy :tada:


---

# 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://rup-scripts.gitbook.io/rupscripts/scripts/rup-fishing.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.
