> For the complete documentation index, see [llms.txt](https://loureiro-stoned.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://loureiro-stoned.gitbook.io/docs/scripts-guides/zombie-system-v2.md).

# Zombie System V2

## INSTALLATION

### 1.  Resource Download

\
**To get started, you'll need to download your new resource previously purchased from** [**shop**](/docs/overview/website-shop.md)**.** For that we must log in with our account at [`keymaster`](https://keymaster.fivem.net/asset-grants/) and look for the Asset grants section, there we will find our complete package.

{% hint style="info" %}
To get updates you get them from the same website ([keymaster](https://keymaster.fivem.net/asset-grants)).
{% endhint %}

### 2. Unzip The Folder

Unzip the script folder than **copy&#x20;*****stoned-zombiesv2*** and **paste** it on your server **resources folder**.

{% hint style="info" %}
If you want to use the **zombies addon**, you will have to copy the files inside the "stream" folder to your peds or map pack, for example.
{% endhint %}

### 3. Ensure

Put this line in your server.cfg.

{% hint style="warning" %}
This should be under your essentials resources.
{% endhint %}

```
ensure stoned-zombies
```

## CONFIGURATION

### 4. Configure

Configure the *config.lua* file present in the resource, with the help of comments to facilitate your configuration.

**4.1** Open **config.lua**

Here you configure literally everything in the system, what it does is commented line by line.

{% hint style="info" %}
**Important!**

* Make sure you choose your ***framework***
* Make sure you have all items defined in ***Config.Rewards*** that are created in your inventory.
  {% endhint %}

**Important Notes:**

* What increases the number of zombies spawned is Config.D**ensity**
* What makes spawning zombies faster or slowly is **Config.spawnWaitDay** & **Config.spawnWaitNight**

\
**4.2** Open **cl\_config.lua**

Here you will have the configuration part to integrate your systems such as: notification, XP System, TextUI.

There is also the possibility to change the drawtext3D style.

### 5. Restart Server

Restart your game server and enjoy the system.
