> For the complete documentation index, see [llms.txt](https://0bugscripts.gitbook.io/0bugscripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0bugscripts.gitbook.io/0bugscripts/infinity-scripts/vehicle-control/installation.md).

# Installation

* Ensure you have xSound installed on your server. If not, install it first.
* Download the Vehicle Control and MapStyles script files from your authorized source.
* Locate your FiveM server's resources folder.
* Take the 3 mapStyles folders and put them under this folder path : (zr-veh-control/zr-assets/zr-map) without the fxmanifest and other files.
* Drag and drop the entire `zr-veh-control` folder into your server's resources directory.
* Open your server.cfg file.
* Add the following lines to your server.cfg:

  `ensure xsound` \
  `ensure zr-veh-control`

  Note: Make sure xsound is started before vehicle control.
* Save the server.cfg file.
* Restart your FiveM server.
