# Installation

### 🧠 Installation Guide

1. Deployment: Drag and drop the `frkn-portheist` folder into your server's `resources` directory.
2. Configuration: Add `ensure frkn-portheist` and the required dependencies to your `server.cfg`.
3. Database: Import the provided SQL files to enable cooldown saving and heist history tracking.

#### Required Dependencies

To ensure the script functions correctly, make sure the following resources are installed and started in your `server.cfg`:

* `frkn-portheist`
* `0r-npcdialog`

> \[!IMPORTANT] Resource Restart Required: For the script and its internal mechanics to initialize properly after the first installation or after making configuration changes, you must restart the server or manually restart the resources listed above. Use the command `ensure [resource-name]` in your server console to refresh them.


---

# Agent Instructions: 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://docs.0resmon.org/0resmon/frkn-resources/frkn-port-heist/installation.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.
