# Installation

## Script Download

{% stepper %}
{% step %}

### Log Into CFX Portal

[CFX Portal](https://portal.cfx.re/assets/granted-assets)
{% endstep %}

{% step %}

### Granted Assets

Navigate to the **assets** page to find the resource. Download it and then **drag and drop it to your server**.
{% endstep %}
{% endstepper %}

## Script Setup

{% stepper %}
{% step %}

### Add Script To Your Server

Drag and drop the script to your server!
{% endstep %}

{% step %}

### Cayo Perico Island

Download the island from here <https://github.com/FranczeK/cayoperico-island> and make sure to add it to your resource folder. Credits to #FranczeK
{% endstep %}

{% step %}

### Custom Sounds

Place the sound files provided in **pug-battleroyale/soundfiles** into **InteractSound\client\html\sounds**
{% endstep %}

{% step %}

### Vr Headset

For the vr headset download here and add its hat clothing number to **Config.VrHeadSetPropMale** and **Config.VrHeadSetPropFemale** <https://www.gta5-mods.com/player/oculus-rift-cv1-eup>
{% endstep %}

{% step %}

### Weather  Sync

For the weather to sync when you exit the zone, make sure to fallow the [Weather Sync](https://pugdocuments.gitbook.io/pug-development/scripts/battle-royale/installation/weather-sync) section
{% endstep %}

{% step %}

### Ox Inventory

Ox\_inventory users read the [ox\_inventory](https://pugdocuments.gitbook.io/pug-development/scripts/battle-royale/broken-reference) section.
{% endstep %}

{% step %}

### Disable Shots Fired Calls

To disable shots fired calls, thoroughly read the [Dispatch/Shots Fired](https://pugdocuments.gitbook.io/pug-development/scripts/battle-royale/installation/dispatch-shots-fired) section
{% endstep %}

{% step %}

### If you want the med kit and slurp juice to remove the bleeding This goes at the very bottom of qb-ambulancejob/client/wounding.lua

```lua
RegisterNetEvent("Pug:Client:StopBleeding", function()
    isBleeding = 0
end)
```

{% endstep %}
{% endstepper %}

## [Script Support & Dependencies](https://pugdocuments.gitbook.io/pug-development/scripts/battle-royale/dependency-and-support)
