Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatic Roadblocks 0.8.1

(17 reviews)

16 Screenshots

Automatic Roadblocks

Automatic Roadblocks allows the dispatching of roadblocks during a pursuit based on a selected pursuit level.

When roadblocks are deployed, custom scanner audio is played as well as for the indication that the pursuit level is automatically increased.

Next to automatic roadblocks, it allows you to place configurable manual roadblocks and traffic redirections.

 

Leave improvements, issues or feature requests in the comments.

 

Audio levels have been decreased as of version 0.8.0, please update all files provided in this plugin under "lspdfr/audio".

 

Features

  • Automatic roadblock placement during pursuits
  • Roadblock cops automatically join the pursuit after a hit/bypass
  • Request a roadblock during a pursuit
  • Manual configurable roadblock placement
  • Configurable traffic redirection
  • Spike strips
  • Junction/intersection roadblocks
  • Police SmartRadio integration
  • Grammar Police integration
  • Road closure

 

Planned Features

Spoiler
  • More scenery variations within the roadblocks
  • Additional scenery such as other emergency vehicles (Fire & EMS) to manual roadblock placements/traffic redirection

 

Requirements

  • LSPDFR 0.4.9.0+
  • RageNativeUI 1.9.0.0+ (provided in ZIP)

 

Automatic roadblocks

Automatic roadblocks are deployed automatically or requested by the player during a pursuit.

Each roadblock is dynamically created based on the road location where it is deployed (no prefabs are used).

 

Each roadblock level has a unique setup and variation which makes it more difficult to pass the higher the level is.

image.thumb.png.a20a1ade1e50234cbf4e8d254ac03b93.png

 

Evening/night - Lights

Lights will be automatically placed within the roadblock during the evening/night.

This option can be disabled in the config file.

 

Automatic roadblock level increases

The levels of the roadblock are automatically increased based on the following conditions:

Spoiler
  • The duration of the pursuit
  • The total number of roadblocks deployed for the pursuit
  • If the suspects are shooting
  • Number of cops killed by the suspects

 

Roadblock levels

The roadblock levels are now fully customisable to your liking.
For more info, see the plugins/LSPDFR/Automatic Roadblocks/data/roadblocks.xml

 

Manual placement

Deploy a custom configured roadblock (outside of pursuits) through the in-game menu.

The manual placement option allows different variants of barriers, lights and vehicles.

 

image.thumb.png.6b7e5cb4950704076719b06eb29eb58c.png

 

Redirect traffic

Create a configurable traffic redirection for the current lane.

This will not close the road but redirect traffic to the next lane or around the location.

 

image.thumb.png.240b8c940a646933c8bce15e54e411f0.png

 

Close road

Close the current road for any traffic with roadblocks along the road or close the nearby intersection.

This feature will be expanded in the future with additional scenery items. 

 

---

Automatic Roadblocks is open source: https://github.com/yoep/AutomaticRoadblock

Feel free to contribute to the project 🙂 

 

Edited by yoep

What's New in Version 0.8.1

Released

Features

  • Added Italian translation provided by @cristian304
  • Added Russian translation provided by INTEGRA-2200 

 

Bugfixes

  • Updated RageNativeUI dependency to latest version
  • Fixed an issue with the integrations not loading correctly

Short Description

Deploy automatic roadblocks or spike strip during pursuits, place a configurable manual roadblock or traffic redirection

User Feedback

Recommended Comments

cb6

Members

(edited)

Awesome!

Edited by cb6

Don Ducat

Members

check this please I am getting this error

2022-09-22_174926.png

see this

2022-09-22_180119.png

yoep

Members Author

(edited)

18 hours ago, Don Ducat said:

check this please I am getting this error

2022-09-22_174926.png

see this

2022-09-22_180119.png

Hi

 

Thanks for reporting the issue, I'll have a look at it and try to provide a fix ASAP.

---

8 hours ago, RDDZ said:

Hi 

 

Your issue is related to an outdated version of RageNativeUI.

You're using version 1.8.2.0 but the plugin requires version 1.9.0.0 (which is provided in the ZIP).

[ERROR] An unexpected error occurred while initializing the menu with error Could not load type 'RAGENativeUI.ScrollableListBase`1' from assembly 'RAGENativeUI, Version=1.8.2.0, Culture=neutral

 

Edited by yoep

javier0911

Members

can you add a dui check point 😀 would be nice too

cristian304

Members

How send it the localization of italian? 

SJTF

Members

Author: Hello!Words are garbled, Simplified Chinese, how to solve this problem?

20220925195726_1(1).jpg

yoep

Members Author

6 hours ago, cristian304 said:

How send it the localization of italian? 

 

Hi 

 

You can send it through a DM if you want or open a PR on Github.

tritratratsche

Members

Best Roadblock Plug-in! Please keep your good work going! Thank you

tritratratsche

Members

@yoepFirst of all, I want to thank you for this great add-on!  This is by far the best Roadblock add-on for LSPDFR.

Unfortunately, since the last update, I can't set a roadblock. I'm not sure if it's due to another installed add-on or a general bug.
Therefore I have attached the RagePluginHook.log here and hope that the creator of the add-on can help me.

Keep up the good work and provide the community with such a great add-on!
Thanks

 

2022-09-30 09_45_54-GTA5 2022-09-30 09-39-42.png - IrfanView (Zoom_ 9811 x 5519).png

RagePluginHook.log

yoep

Members Author

5 hours ago, tritratratsche said:

@yoepFirst of all, I want to thank you for this great add-on!  This is by far the best Roadblock add-on for LSPDFR.

Unfortunately, since the last update, I can't set a roadblock. I'm not sure if it's due to another installed add-on or a general bug.
Therefore I have attached the RagePluginHook.log here and hope that the creator of the add-on can help me.

Keep up the good work and provide the community with such a great add-on!
Thanks

 

2022-09-30 09_45_54-GTA5 2022-09-30 09-39-42.png - IrfanView (Zoom_ 9811 x 5519).png

RagePluginHook.log 138.89 kB · 1 download

 

Hi

 

Thanks for reporting the issue and providing the error log.
I've foreseen a patch 0.5.1 which should fix the issue.

terellef

Members

love this mod and the work rate is crazy thankyou 

maddogg1987

Members

I am loving this mod a lot. Only issue I have noticed is female cops are spawning with a male face and bald. Otherwise amazing so far 😀

DBIN

Members

作者你好,菜单出现乱码的情况应该如何解决,谢谢!

daniel979797

Members

Anyone experiencing series lag when roadblock is been dispatched during pursuit? It goes away after the pursuit is over, wonder if anyone have the same issue. 

yoep

Members Author

On 10/5/2022 at 9:50 PM, daniel979797 said:

Anyone experiencing series lag when roadblock is been dispatched during pursuit? It goes away after the pursuit is over, wonder if anyone have the same issue. 

Hi

 

There was a bug in 0.5.1 which had a conflict when a user requested roadblock couldn't be spawned which then caused the automatic ones to try indefinitely to place one but never was allowed to. This performance bug should however be fixed in 0.5.2.

(every roadblock dispatch, requested or automatic, does some initial calculations to determine the location which consumes CPU

cristian304

Members

After ultimate update don't work and i have this problem. 

 

Screenshot_20221008_155458.jpg

cristian304

Members

You can help me?? 

Screenshot_20221009_012423.jpg

yoep

Members Author

On 10/9/2022 at 1:31 AM, cristian304 said:

You can help me?? 

Screenshot_20221009_012423.jpg

Hi

 

Could you please send me a DM with your RagePluginHook.log?

cristian304

Members

(edited)

Tomorrow i send the logs.

Thanks.

Edited by cristian304

OfficerGlock

Members

So I'm running into this error, I'm not sure if anyone else has experienced this before 




[10/11/2022 12:08:33 AM.175] LSPD First Response: Automatic Roadblocks: [INFO] Loaded version 0.5.2.0
[10/11/2022 12:08:33 AM.217] LSPD First Response: [TRACE] Thread CrimesMenu #2 initialized
[10/11/2022 12:08:35 AM.378] LSPD First Response: Automatic Roadblocks: [ERROR] Failed to retrieve vehicle model from LSPDFR data, Object reference not set to an instance of an object.
   at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.GetLoadoutForAgency(EBackupUnit unit, Agency agency) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 152
[10/11/2022 12:08:35 AM.378] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveLoadout(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 109
[10/11/2022 12:08:35 AM.378] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveVehicleModel(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 32
[10/11/2022 12:08:35 AM.378] LSPD First Response: Automatic Roadblocks: [ERROR] An unexpected error occurred in 'AbstractInstancePlacement.DoHologramPreviewCreation' thread, error: Object reference not set to an instance of an object.
   at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.GetLoadoutForAgency(EBackupUnit unit, Agency agency) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 152
[10/11/2022 12:08:35 AM.378] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveLoadout(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 109
[10/11/2022 12:08:35 AM.378] at AutomaticRoadblocks.Roadblock.Slot.AbstractRoadblockSlot..ctor(Lane lane, BarrierModel mainBarrier, BarrierModel secondaryBarrier, EBackupUnit backupType, Single heading, Boolean shouldAddLights, Boolean recordVehicleCollisions, Single offset) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Roadblock\Slot\AbstractRoadblockSlot.cs:line 57
[10/11/2022 12:08:35 AM.378] at AutomaticRoadblocks.ManualPlacement.ManualRoadblock.<CreateRoadblockSlots>b__13_0(Lane lane) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\ManualPlacement\ManualRoadblock.cs:line 81
[10/11/2022 12:08:35 AM.378] at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
[10/11/2022 12:08:35 AM.378] at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
[10/11/2022 12:08:35 AM.378] at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
[10/11/2022 12:08:35 AM.379] at AutomaticRoadblocks.ManualPlacement.ManualRoadblock.CreateRoadblockSlots(IReadOnlyList`1 lanesToBlock) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\ManualPlacement\ManualRoadblock.cs:line 80
[10/11/2022 12:08:35 AM.379] at AutomaticRoadblocks.Roadblock.AbstractRoadblock.InitializeRoadblockSlots() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Roadblock\AbstractRoadblock.cs:line 420
[10/11/2022 12:08:35 AM.379] at AutomaticRoadblocks.Roadblock.AbstractRoadblock.Initialize() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Roadblock\AbstractRoadblock.cs:line 327
[10/11/2022 12:08:35 AM.379] at AutomaticRoadblocks.ManualPlacement.ManualPlacement.CreateInstance(IVehicleNode street) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\ManualPlacement\ManualPlacement.cs:line 190
[10/11/2022 12:08:35 AM.379] at AutomaticRoadblocks.Instances.AbstractInstancePlacementManager`1.<>c__DisplayClass20_0.<DoHologramPreviewCreation>b__0() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Instances\AbstractInstancePlacementManager.cs:line 182
[10/11/2022 12:08:35 AM.379] at AutomaticRoadblocks.AbstractionLayer.Implementation.RageImpl.<>c__DisplayClass10_0.<NewSafeFiber>b__0() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\AbstractionLayer\Implementation\RageImpl.cs:line 37
[10/11/2022 12:08:37 AM.707] LSPD First Response: CompuLite: Citations.xml has been successfully loaded
[10/11/2022 12:08:37 AM.727] LSPD First Response: CompuLite: Charges.xml has been successfully loaded
[10/11/2022 12:08:38 AM.002] LSPD First Response: STP: Problem on Loading CustomQuestions.xml: 
[10/11/2022 12:08:38 AM.009] LSPD First Response: STP: Problem on Loading TrafficStopQuestions.xml: 
[10/11/2022 12:08:40 AM.342] LSPD First Response: [TRACE] New cop added without cop data!
[10/11/2022 12:08:40 AM.342] LSPD First Response: [TRACE] Dan Fernandez (S_M_Y_HWAYCOP_01) was set as a cop
[10/11/2022 12:08:40 AM.646] LSPD First Response: Automatic Roadblocks: [ERROR] Failed to retrieve vehicle model from LSPDFR data, Object reference not set to an instance of an object.
   at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.GetLoadoutForAgency(EBackupUnit unit, Agency agency) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 152
[10/11/2022 12:08:40 AM.646] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveLoadout(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 109
[10/11/2022 12:08:40 AM.646] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveVehicleModel(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 32
[10/11/2022 12:08:40 AM.647] LSPD First Response: Automatic Roadblocks: [ERROR] An unexpected error occurred in 'AbstractInstancePlacement.DoHologramPreviewCreation' thread, error: Object reference not set to an instance of an object.
   at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.GetLoadoutForAgency(EBackupUnit unit, Agency agency) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 152
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveLoadout(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 109
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.Roadblock.Slot.AbstractRoadblockSlot..ctor(Lane lane, BarrierModel mainBarrier, BarrierModel secondaryBarrier, EBackupUnit backupType, Single heading, Boolean shouldAddLights, Boolean recordVehicleCollisions, Single offset) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Roadblock\Slot\AbstractRoadblockSlot.cs:line 57
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.ManualPlacement.ManualRoadblock.<CreateRoadblockSlots>b__13_0(Lane lane) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\ManualPlacement\ManualRoadblock.cs:line 81
[10/11/2022 12:08:40 AM.647] at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
[10/11/2022 12:08:40 AM.647] at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
[10/11/2022 12:08:40 AM.647] at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.ManualPlacement.ManualRoadblock.CreateRoadblockSlots(IReadOnlyList`1 lanesToBlock) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\ManualPlacement\ManualRoadblock.cs:line 80
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.Roadblock.AbstractRoadblock.InitializeRoadblockSlots() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Roadblock\AbstractRoadblock.cs:line 420
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.Roadblock.AbstractRoadblock.Initialize() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Roadblock\AbstractRoadblock.cs:line 327
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.ManualPlacement.ManualPlacement.CreateInstance(IVehicleNode street) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\ManualPlacement\ManualPlacement.cs:line 190
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.Instances.AbstractInstancePlacementManager`1.<>c__DisplayClass20_0.<DoHologramPreviewCreation>b__0() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Instances\AbstractInstancePlacementManager.cs:line 182
[10/11/2022 12:08:40 AM.647] at AutomaticRoadblocks.AbstractionLayer.Implementation.RageImpl.<>c__DisplayClass10_0.<NewSafeFiber>b__0() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\AbstractionLayer\Implementation\RageImpl.cs:line 37
[10/11/2022 12:08:50 AM.869] LSPD First Response: [TRACE] Allowed civilian to shoot

 

 

cristian304

Members

On 10/10/2022 at 10:09 AM, yoep said:

Hi

 

Could you please send me a DM with your RagePluginHook.log?

i send you a dm with log and file traslate .Thanks

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.