Police Prop Pack
Product Information
Purchase - Tebex Store - British Police Prop Pack
The British Police Prop Pack brings 17 British Police related props to your FiveM server. You can use the included prop spawn menu to place these props. The menu can be job locked/whitelisted to ESX, QBCore or just be standalone.
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
File/[Folder] | Information | Required to be configured? |
---|---|---|
[stream] | Contains the prop models and textures. | No - Do not edit |
.fxap | A FiveM file required to be included within the resource folder for the modification to load | No - Do not edit |
config.lua | Configuration file for the Prop Pack. | Requires configuration if using whitelisting - see configuration |
fxmanifest.lua | FiveM config file to determine what files need to be loaded/streamed. Do not edit | No - Edit only to disable the prop menu script |
menu.lua | Script for the NativeUI menu. | No - Do not edit |
NativeUI.lua | NativeUI framework that is used by the prop spawning menu | No - Do not edit |
Do not edit the files within this resource folder outside of what is highlighted above as being configurable. 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_PoliceProps' and within it you see the files listed above.
If you find another folder inside the LGMods_PoliceProps 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 prop files can usually have problems using this method as such we recommend you restart your server after installation.
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.
Configuration
The configuration of this product is done within the config.lua file, found in the LGMods_PoliceProps resource folder.
Configuring the Prop Pack Menu
Open Config.lua in a text editor (Windows Notepad is fine, but Notepad++ is a free alternative that makes reading Lua and JSON files easier). There are a number of options to modify.
The first line sets the key to be used to open the open the menu. By default it is 166, which is F5. You can change this by selecting a different number corresponding to a different key, as laid out by the information on this CFx FiveM Controls doc.
Below this is where the props are defined for the menu. They will appear in the menu in the same order they are placed here. If you wish to add further objects you can do so by copying and pasting one of the lines, ensuring all but the last one have a comma at the end. By default, all of the LG Mods Police Props are listed here, so you do not need to edit anything if you are only wishing to feature these in the menu.
The final part of config.lua that you can modify is the whitelisting/job lock to define who can open the menu.
The first line requires you to pick from a list of the options listed in the comment on the same line. If you are not using a framework mentioned (oEssentials, PoliceEssentials, QBCore, ESX) then use standalone.
If you do use one of the frameworks, copy that into the value for the Framework. You then need to define what jobs are allowed access to this menu. Each network should define a name for the job/role and this is what you will place here. In this example "Police" and "Job2" roles will be able to open the menu. But, you must ensure you have entered the correct framework in Config.Framework value above or this will be ignored.
Once you have completed all of the above, save config.lua and close it.
Disable Prop Menu
You may have your own script or tool to spawn the LG Mods Police Props and therefore do not require the script included. To prevent this appearing, edit the
Prop Pack Classnames
You can spawn the props using your own methods. The class names are available below.
Classname | Name |
---|---|
| Police Cone |
| Police Slow Sign |
| Police Road Closed Sign |
| Police Accident Sign |
| Bare Left Arrow Sign |
| Bare Right Arrow Sign |
| Police Drink Drive Checkpoint Sign |
| Police Drones in Operation Sign |
| Vision Zero Met Police Sign |
| Dorman Blue Lantern |
| Forensic Tent |
| Collision Investigation Camera |
| CSI Marker 1 |
| CSI Marker 2 |
| CSI Marker 3 |
| CSI Marker 4 |
| CSI Marker 5 |
Last updated
Was this helpful?