UK Sinner Street
Product Information
Purchase - Tebex Store - UK Police Station (Sinner Street)
Sinner Street PD is an exterior and interior overhaul to the original Los Santos Police Station on Sinner Street, within the GTA5 game world. It includes a number of additional rooms, a revamped custody suite and many other features all resembling that of a British based police station. This also includes functioning front and rear gates, which can be opened via a command.
Be aware that this product is encrypted and distributed via Tebex for the FiveM platform only. Editing of some content will be restricted.
You cannot install this product directly into GTA5 as a modification and must use the FiveM platform to use it as a streamed resource.
Contents
[client]
Folder containing encrypted scripts for multiple functions within the police station
No - Do not edit
[html]
Folder containing files for the panel UI, audio etc.
No - Do not edit
[stream]
Folder containing the model and textures used to replace the original content
Optional - see configuration
.fxap
A FiveM file required to be included within the resource folder for the modification to load
No - Do not edit
config.lua
Configuration for the modification. You can modify the way the gate works including any whitelisting for who can open the gate. Read the comments to see what can or cannot be edited
Optional - see configuration
doortuning.ymt
Files to manage the gates. Do not edit
No - Do not edit
fxmanifest.lua
FiveM config file to determine what files need to be loaded/streamed. Do not edit
No - Do not edit
gta5.meta
File required to manage how certain parts of the addon works. Do not edit
No - Do not edit
interiorproxies.meta
File required to manage how certain parts of the addon works. Do not edit
No - Do not edit
server.lua
Encrypted script that has functions that link in with other elements of the addon
No - Do not edit
Unless specifically mentioned, do not edit the files unless you know what you are doing. LGMods will not provide assistance to you if you have edited files outside of what has been set out to be edited by the customer.
Installation
These instructions assume you have a working FiveM server that you can already connect to without issue. Please see here for more information on setting up a FiveM server.
Find the 'resources' folder within your FiveM server installation. It should be in the same location as your server.cfg.
Download the LG Mods product from your FiveM Keymaster, if you haven't already.
Extract the files from the ZIP archive you downloaded into the 'Resources' folder.
The folder inside the 'Resources' folder should be 'LGMods_Sinner_UK' and within it you see the files listed above.
If you find another folder inside the LGMods_Sinner_UK folder, then you need to make sure the contents are moved so that the files above are within the first directory you open from the resources folder, otherwise the addon will not load
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.
Below these lines is where you will add this resource with the following line
Restart your server. Some resources can be loaded while the server is running using the start command, however MLO's usually don't work using this method as such you will need to restart your server for this product.
All players that join must 'stream' the asset to their computer for the first time they connect to the server and go near to where the product is located. FiveM and GTA then cache what is downloaded. Depending on the server and clients internet connection, it may take a short while for the assets to stream and therefore parts of the product may not load as quick as others. Please be patient while this loads.
Features
In a recent update to Sinner Street, we have made it so the rear gate is for inbound traffic only. That is, you cannot exit via this gate and instead must drive around the side of the station to use the front gate. However, there maybe cases where this is not suitable due to an emergency. On the wall of the police station is a red button, which when pressed opens the gate. It will also sound an alarm, to prevent misuse and alert to anyone using it who maybe trying to escape the secure area.
To reset this alarm, go into the building through the rear doors and go onto the stairs leading down to custody. You will find an alarm panel on the wall. You can reset the alarm and gate status at this panel by pressing E next to it.
Configuration
Configuration of this product can be done within the file 'config.lua'. No other files should be edited.
ESX/QBCore Whitelisting Settings
The next and final part that can be configured is the ESX/ ESX-Legacy / QBCore job whitelisting settings, found further down 'config.lua'.
If you are using ESX, ESX-Legacy or QBCore and have whitelisted roles which you want to be able to open the gate then include them here. 'police' and 'ems' have already been placed as an example, but change these to match your ESX/ESX-Legacy/QBCore configuration.
Change value from false to true after enabled if you are wishing to use that frameworks whitelisting. If both are left false then anyone can run the command to open the gates.
ESX and QBCore are third party resources and are not included with this LGMods product, and we are unable to assist with their setup.
Only enable these options if you have the framework installed. Doing so without the framework being installed correctly is likely to cause errors with this script. Otherwise pick standalone.
Be careful to ensure each entry within the jobs array has apostrophes around the job role and a comma is placed after them, with exception to the last entry.
Front Gate Settings
Additional to the whitelisting (if you chose to use it) you can also set a pin for opening the gates. Users can go up to a keypad and press E to open the 4 digit pinpad. They will need to enter the code below. This pin is the same for all pin pads. If you prefer to use whitelisting only, change CodeRequired to false.
GateCode is the code you can change - noting it must only be 4 numerical digits.
The two commands are not required to be used and should not be changed.
The GateIncrement and PedGateIncrement are two variables that set the animation of the front and pedestrian gates. You should not need to edit these.
SoundRadius is how far the audio can be heard. The audio will naturally drop off as you reach this distance.
You can load any changes made to this config file by saving it, then typing in the console 'restart LGMods_Sinner_UK' (without the apostrophes).
Retexturing
This product has been made in a way to separate all of the branding and related textures into three texture dictionaries (YTD files). This allows you to retexture the station to your own requirements quickly and efficiently. Our product has been made this way to allow customising the station to be extremely straightforward.
Below are the YTD files that hold the textures you can replace;
lgmods_sinnertextures.ytd
This is the YTD where you will find all custom signage, props and objects and is fully customisable
hei_heist_dlc_police_txd.ytd
This is the default GTA YTD from the Police Station, we utilise some of the original building components so there are a couple of noticeboards and posters within here that are editable
hei_heist_dlc_police_txd+hi.ytd
This is a +hi YTD very similar to the above one, it has some of the same textures within it that you also need to replace to ensure they stream correct.
Retexture Installation
This section is only relevant if you have purchased, or have been provided alternative texture files for UK Sinner Street. If you only have UK Sinner Street then you do not need to do anything with these instructions.
These instructions assume you have UK Sinner Street installed, having followed the above instructions. If not, complete this stage first.
Find the 'resources' folder within your FiveM server installation and your 'LGMods_Sinner_UK' folder.
Within the 'LGMods_Sinner_UK' folder, open the folder called 'stream'
Place the files you have been provided within this folder. When prompted if you wish to overwrite existing files, select 'Yes'.
Restart your FiveM server
When connecting to your server after installation and visiting the location of this modification, please be aware that FiveM will need to download the changed files. Due to caching this may not happen instantly and therefore some textures may still be the previous textures. Please be patient while these load.
Last updated
Was this helpful?