# British Traffic Lights

## Product Information

Purchase - [Tebex Store - British Traffic Lights](https://store.lgmods.co.uk/package/5967242)

This product replaces the original GTA traffic lights with those matching those you would find in the United Kingdom. Each traffic light has been replaced with a light that contains the identical features of the original; for example those lights with filter lane lights include those in the replacement pack.

You can choose between Halogen lights or LED lights, depending on your preference.

{% hint style="info" %}
This product includes a version for FiveM as well as the option to include it within GTA5 single player.
{% endhint %}

## Contents

The resource you download is split into two sections. One for FiveM, one for GTA5 Single Player.&#x20;

### FiveM Version

Within this folder, you will find two folders which represent two different types of traffic lights. You need to select **only one folder** to place into your FiveM server's resource folder. Either **LGMods\_TrafficLights\_Halogen** OR **LGMods\_TrafficLights\_LED** - the contents of these folders appear the same in the folder structure.

<table data-full-width="false"><thead><tr><th width="226">File/[Folder]</th><th width="289">Information</th><th>Required to be configured?</th><th data-hidden></th></tr></thead><tbody><tr><td>[stream]</td><td>Contains the prop models and textures.</td><td>No - Do not edit</td><td></td></tr><tr><td>.fxap</td><td>A FiveM file required to be included within the resource folder for the modification to load</td><td>No - Do not edit</td><td></td></tr><tr><td>fxmanifest.lua</td><td>FiveM config file to determine what files need to be loaded/streamed. Do not edit</td><td>No - Do not edit</td><td></td></tr></tbody></table>

### SP Version

Within this folder, you will find two folders which represent two different types of traffic lights. You need to select **only one folder** which will have the files you are intalling into your game. Either **LGMods\_TrafficLights\_Halogen** OR **LGMods\_TrafficLights\_LED -** the contents of which will be identical in the file structure.

| File/\[Folder]         | Information                         |
| ---------------------- | ----------------------------------- |
| prop\_traffic\_01a.yft | To be installed into your GTA files |
| prop\_traffic\_01b.yft | To be installed into your GTA files |
| prop\_traffic\_01d.yft | To be installed into your GTA files |
| prop\_traffic\_03a.yft | To be installed into your GTA files |
| prop\_traffic\_03b.yft | To be installed into your GTA files |

## Installation

* Find the 'resources' folder within your FiveM server installation. It should be in the same location as your server.cfg.&#x20;
* Download the LG Mods product from your [FiveM Keymaster](https://keymaster.fivem.net/), if you haven't already.

From this point it depends if you are installing the FiveM version or the Single Player Version.

### FiveM

{% hint style="info" %}
These instructions assume you have a working FiveM server that you can already connect to without issue. Please see [here](https://docs.fivem.net/docs/server-manual/setting-up-a-server/) for more information on setting up a FiveM server.
{% endhint %}

1. From the downloaded folder, you need to go into the folder named FiveM Version. You then need to decide if you wish to have Halogen or LED traffic lights. Depending on which one you wish to use, put the folder with the relevant name into your into your servers 'Resources' folder.

{% hint style="info" %}
For example, if you are selecting to use the Halogen lights on your server, place LGMods\_TrafficLights\_Halogen into your FiveM Server's resources folder.&#x20;

**DO NOT install both Halogen and LED versions.**
{% endhint %}

5. Open your server.cfg and find where you see a number of lines that start with the word 'ensure'.  The default resources are usually included and appear like below.&#x20;

```lua
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
```

6. Below these lines is where you will add this resource with ONE of the following lines, depending on what folder you moved into your Resources folder.

```lua
ensure LGMods_TrafficLights_Halogen
-- OR
ensure LGMods_TrafficLights_LED
```

7. Restart your server. Some resources can be loaded while the server is running using the start command, however prop files can usually have problems using this method as such we recommend you restart your server after installation.

{% hint style="info" %}
All players that join must 'stream' the asset to their computer for the first time they connect to the server. There may be a very short delay in the objects appearing for the first time for each user. The objects will cache and will appear instantly after the first time.
{% endhint %}

### GTA5 Single Player

{% hint style="warning" %}
You will need [OpenIV](https://openiv.com/) to install these files. We suggest following [this guide](https://openiv.com/?p=1132) in setting up OpenIV to use mod files to avoid overwriting your original game files.
{% endhint %}

To install the files into your single player game, you need to install the files from **one** of the folders (LGMods\_TrafficLights\_Halogen **OR** LGMods\_TrafficLights\_LED) into the following path, overwriting if prompted.&#x20;

```
Grand Theft Auto V\mods\x64h.rpf\levels\gta5\props\roadside\v_traffic_lights.rpf\
```

This path can be opened in OpenIV and files replaced. Start GTA5 and your traffic lights should be now be the British varient.

## Configuration

There are no configurable options for this product. Simply install the resource into FiveM or the files into GTA5 and it is good to go.
