# Installation

Follow these steps to successfully install **frkn-weaponskin** on your server.

#### 1. Requirements

Ensure you have the following dependencies installed and running on your server:

* [oxmysql](https://github.com/overextended/oxmysql) (For database saving)
* [ox\_target](https://github.com/overextended/ox_target) or [qb-target](https://github.com/qbcore-framework/qb-target) (Optional, for NPC interaction)

#### 2. Download & Add Stream Files (Important ⚠️)

To keep the script size optimized, the weapon asset files (stream folder) are provided separately. **You must install them for the script to work.**

1. Download the stream files from here: [Download Stream Files](https://drive.google.com/file/d/1TCsYuHxYojw2-i6P_YI8-ozsKrw9zgaI/view)
2. Extract the downloaded `.zip` or `.rar` file.
3. Drag and drop the `stream` folder directly into your `frkn-weaponskin` folder. *(Make sure the folder is named exactly `stream`)*

#### 3. Database Setup

You must run the provided SQL file to create the necessary tables for saving weapon skins and VIP permissions.

1. Open your database management tool (HeidiSQL, phpMyAdmin, etc.).
2. Run the `sql.sql` file provided inside the `frkn-weaponskin` folder. This will create the `weapon_skin_templates` and `weapon_skin_permissions` tables.

#### 4. Adding to Server

1. Place the `frkn-weaponskin` folder in your `resources` directory (preferably inside `[qb]` or `[standalone]`).
2. Make sure the folder name is exactly `frkn-weaponskin`.
3. Open your `server.cfg` and add the following line:

```cfg
ensure frkn-weaponskin
```


---

# 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-weapon-skin/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.
