> 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-football/setting-up.md).

# Setting Up

This section explains how to install the ak4y-football script on your server.

The script has 4 main files (script file, outfit file, animation file and map file)

There is also an independent supporting script that is required for the script to work. ( polyzone )

***

## (1) - Keymaster

You can access these main base files by searching for football in the search section under Keymaster > Granted Assets tab.

{% hint style="success" %}
You must **download all the files** on the keymaster one by one.
{% endhint %}

> [Click and go to the keymaster](https://keymaster.fivem.net/asset-grants?search=football)

<figure><img src="https://3767924772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKJJbe1fiy459MBXXvuFL%2Fuploads%2Fx98Y3hU6B6LxgZvnZSPL%2Fimage.png?alt=media&amp;token=3a601914-49ae-4d54-acd9-8611fc183a68" alt=""><figcaption></figcaption></figure>

***

## (2) - GitHub

You need to download the supporting file PolyZone from Github.

> [ Click And Download](https://github.com/mkafrin/PolyZone/releases)

{% hint style="danger" %}
You must download it with the .zip extension (PolyZone.zip). You should not download the source code.
{% endhint %}

<figure><img src="https://3767924772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKJJbe1fiy459MBXXvuFL%2Fuploads%2Fon8AzfggA6dAyLBPDSLY%2Fimage.png?alt=media&amp;token=0f371eb8-5679-421b-9d91-1610fcfc6571" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3767924772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKJJbe1fiy459MBXXvuFL%2Fuploads%2FjoZH4UUcFxvtx7ENDlQT%2Fimage.png?alt=media&amp;token=9196bcd5-e79c-4af9-a72d-f5db51806912" alt=""><figcaption></figcaption></figure>

***

## (3) - File operation

### After downloading all the files;

* **1-)** Create a folder named <mark style="color:blue;">**\[football]**</mark> inside the **resources folder in the file where your server is located**

<figure><img src="https://3767924772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKJJbe1fiy459MBXXvuFL%2Fuploads%2FjoZH4UUcFxvtx7ENDlQT%2Fimage.png?alt=media&amp;token=9196bcd5-e79c-4af9-a72d-f5db51806912" alt=""><figcaption></figcaption></figure>

* **2-)** Put all downloaded files into the \[football] folder as shown in the image below.

<figure><img src="https://3767924772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKJJbe1fiy459MBXXvuFL%2Fuploads%2FFiDoLQuBWuwg98aVcwnL%2FEkran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202024-03-26%20144053.png?alt=media&amp;token=bd17a048-a906-4620-b4fc-4e770d05d8db" alt=""><figcaption></figcaption></figure>

* **3-)** <mark style="color:red;">Insert the .sql file</mark> in the ak4y-football folder into your database.
* **4-)** Initialize the \[football] folder in server.cfg with the following code

> ensure \[football]

<figure><img src="https://3767924772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKJJbe1fiy459MBXXvuFL%2Fuploads%2Fp5LHzLuyF0BTVkGTZC57%2Fimage.png?alt=media&amp;token=ec03134b-2213-412b-ac65-1189360dcaec" alt=""><figcaption></figcaption></figure>
