> For the complete documentation index, see [llms.txt](https://docs.ak4y.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ak4y.com/scripts/ak4y-aquapark_restaurant/install-script.md).

# Install Script

## 1-) Download the script

You must download the script you purchased via Keymaster;

* ak4y-core
* ak4y-aquaparkprop
* ak4y\_aquapark\_restaurant&#x20;

You will download 3 different files. You must download these files individually from [Keymaster](https://keymaster.fivem.net/asset-grants).

***

## 2-) Installing the script

### Open server.cfg and paste the following code block after the core files (qb, esx, qbox core).

```
ensure AuraStudio-Aquapark
ensure ak4y-core
ensure ak4y-aquaparkprop
ensure ak4y-aquapark_restaurant
```

{% hint style="warning" %}
The order in Server.cfg is important. First core, then props, then the script should be started!
{% endhint %}

***

### Now, based on the inventory you are currently using, load the items you need to load into your inventory.

{% tabs %}
{% tab title="ESX Inventory" %}

```sql
INSERT INTO items (name, label, weight, rare, can_remove) VALUES
('aquapark_ticket', 'Aquapark Ticket', 10, 0, 1);
```

{% endtab %}

{% tab title="OX Inventory" %}

```lua
['aquapark_ticket'] = {
        label = 'Aquapark Ticket',
        description = 'A ticket for the Aquapark Slides.',
        stack = false,
        weight = 10,
},
```

{% endtab %}

{% tab title="QB-Inventory" %}

```lua
aquapark_ticket = {
    name = 'aquapark_ticket',
    label = 'Aquapark Ticket',
    weight = 10,                 
    type = 'item',
    image = 'aquapark_ticket.png',
    unique = true,                   
    useable = true,
    shouldClose = true,
    description = 'A ticket for the Aquapark Slides.',
},

```

{% endtab %}
{% endtabs %}

### Then paste the following item image into the section of your inventory where the item images are located.

{% hint style="danger" %}
The file name should be **aquapark\_ticket.png**
{% endhint %}

<figure><img src="/files/JJfYCqslAbLu9Tyu7DRk" alt=""><figcaption></figcaption></figure>

***

### Open the database application you use for SQL installation.

Create the following SQL table in your database.

```sql

CREATE TABLE IF NOT EXISTS `ak4y_aquapark` (
  `identifier` varchar(255) DEFAULT NULL,
  `experience` int(11) DEFAULT NULL,
  `totalEarnings` int(11) DEFAULT NULL,
  `completedJobs` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

```

***


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.ak4y.com/scripts/ak4y-aquapark_restaurant/install-script.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
