# zpx-vipshop

## IMPORTANT

Execute the provided SQL file, and ensure the `config.lua` file is properly configured with the appropriate scripts options and settings.

### DEPENDENCIES

{% hint style="info" %}
ox\_lib - <https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip>
{% endhint %}

### PERMISSIONS

Add the following code in your **server.cfg**:

{% tabs %}
{% tab title="QBCORE" %}

```
add_ace qbcore.god zpxvipshop allow
```

{% endtab %}

{% tab title="ESX" %}

```
add_ace group.admin zpxvipshop allow
```

{% endtab %}
{% endtabs %}

### TEBEX INTEGRATION

To integrate a shop from Tebex, you need to get your secret key first.

{% hint style="info" %}
Go to <https://creator.tebex.io/game-servers> and press the edit button.
{% endhint %}

Then, open your `server.cfg` file and paste the following code, replacing `YOURTEBEXKEY` with your Tebex key.

```
setr sv_tebexSecret YOURTEBEXKEY
```

After creating a package, open it, and you'll see a URL that looks like this:

```
https://creator.tebex.io/packages/1234567
```

The last numbers in the URL are the package ID. Copy it and paste it into `Config.PackageID`.

### IMAGES

The script first retrieves images from the inventory specified in the `config.lua`.

&#x20;If the images aren't found there, it will fetch them from `web/assets`. \
\
Ensure the images are in PNG format and sized at 100x100 pixels.&#x20;


---

# 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://zorpex.gitbook.io/zorpex-documentation/assets/zpx-vipshop.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.
