# Installation

### Requirements

This script will only work with ESX-QBCore Frameworks. Also if you are using the script. You will need a target script.

You have two options for the target script, you can either use [qb-target](https://github.com/qbcore-framework/qb-target) or [ox\_target](https://github.com/overextended/ox_target).

The script will not work without target.

### Ensure s4-housing

```cfg
ensure s4-housing
```

![After ensure script](https://raw.githubusercontent.com/0resmon/docs/main/install.png)

After starting the script, heeding the warnings. Paste the first installation command into your console.

![After ensure script](https://raw.githubusercontent.com/0resmon/docs/main/image.png)

This command will reset the script and remove any developer remnants. This will ensure a clean installation.

Restart the script. Now you are ready to add a new house.


---

# 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/s4-resources/s4-housing/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.
