> For the complete documentation index, see [llms.txt](https://bluen-store.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://bluen-store.gitbook.io/docs/cinema-system/installation.md).

# Installation

{% stepper %}
{% step %}

#### Install all dependencies <a href="#install-all-dependencies" id="install-all-dependencies"></a>

Download and install the following dependencies:

* [oxmysql](https://github.com/overextended/oxmysql)
* [PolyZone](https://github.com/mkafrin/PolyZone)
* [bs-lib](https://github.com/bluenzzz/bs-lib)
* [generic\_texture\_renderer\_gfx](https://forum.cfx.re/t/release-generic-dui-2d-3d-renderer/131208?page=2)
* [Onesync infinity](https://docs.fivem.net/docs/scripting-reference/onesync/)
  {% endstep %}

{% step %}

#### Add to server.cfg

All resources used by brnx-cinemasystem need to be started before brnx-cinemasystem it self. This includes your framework, oxmysql, inventory etc. Putting `start brnx-cinemasystem` at the end of your server.cfg&#x20;

```lua
// Example:

# Libs
start oxmysql
start PolyZone
start bs-lib
start generic_texture_renderer_gfx

# Essentials
start framework
start inventory

# Script
start brnx-cinemasystem
```

{% endstep %}
{% endstepper %}

### How to update

{% stepper %}
{% step %}

#### Backup script

Take a backup of your script resource. We recommend doing this by creating a ZIP file of the `brnx-cinemasystem` folder.
{% endstep %}

{% step %}

#### Delete old script

Delete the old `brnx-cinemasystem` resource from your server.
{% endstep %}

{% step %}

#### Configure

If you have made any changes to the config files, make sure to reapply them. Unless stated otherwise at the end of the patch notes, you can copy the entire config folder.
{% endstep %}
{% endstepper %}
