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.

Law Enforcement Jurisdiction Script 0.8.0.0 - RPH 0.41+

(19 reviews)

1 Screenshot

Introduction
Hello everyone, I’m pleased and very excited to introduce the “Law Enforcement Jurisdiction Script” or L.E.J.S. for short. The script was designed and outlined as a team project between Albo1125 and myself. This script was designed in-mind to give the end-user more control over the policing powers within GTA V. By allowing most, if not all, the functionality of governing which departments have jurisdictions over what parts of Los Santos. With this script you’ll have the power on setting up which areas of patrols… what particular vehicles are in use… what particular Law Enforcement Officers are in use... are they stationed or patrolling… what time of (day or night)… and much-much more.

 

Special Thanks
Thanks EVI for being the original beta tester and bouncing future ideas off us.
Thanks c13, BroCop and Dilapidated on assisting in the second wave of beta testing.
Thank you AlexGuirre for the Zones enum-related stuff and Dilapidated once again for the HELI_MISSION native use.

 
Police Jurisdiction
Police jurisdiction refers to the legal authority for police to enforce laws and the specific geographical area in which this authority exists. Police officers generally have jurisdiction to enforce the laws of a local geographic area or the entire state in which they serve. By contrast, federal officers, such as FBI agents, carry out the enforcement of federal laws throughout the entire country.

 

Jurisdictions and Policing Possibilities
Border and Customs Enforcement.
Wildlife and Game Enforcement.
City, State and Federal Buildings Patrols.
County Roads, Freeways, Highways and Byways Patrols.
Road Construction Assistance and Enforcement.
Railroads and Train Yards Patrols.
Subways and Trolleys Patrols.
Airport Policing and Security Enforcement.
Marina, Beach and Shipyard Patrols.
Coast Guard Patrols.
Public and Private Property Security Patrol.
Or any other area of Law Enforcement and Security that you can think of.
 
Summary
L.E.J.S. allows the end-user to customize their needs within the .INI file (example below), by giving the end-user certain key variables on achieving their goals. The script will be an ongoing project (add-ons, updates, tweaking, etc…) that will give the end-user even more control over time.

 

CREDITS & LICENCE
Law Enforcement Jurisdiction Script is coded by Albo1125 (aka The Great OZ).
Cee Montana (aka Nutt) is the owner of the Law Enforcement Jurisdiction Script.

You cannot upload or redistribute the Law Enforcement Jurisdiction Script without the explicit written permission of Cee Montana (Nutt).

 
Q&A Time

Q. Is there a tutorial on getting started?
A. Yes. Please see the awesome tutorial video by Albo in the video section. Also, the first time you execute the LEJS Editor - it will automatically link you with the tutorial video. Don’t worry, it’s only a onetime measure on cutting down on some of the learning curve questions. Lastly, the Editor may require the “run anyway” elevated permissions for the first time depending on your OS.

Q. How many Jurisdictions Patrol Profiles can I create within the .INI file?
A. Creating jurisdiction profiles are limitless. That being said, I would personally suggest on keeping each jurisdiction area or zone, vehicle count under twenty-five (25). Especially if you’re using non-vanilla vehicles and a large activation boundary. In other words: You can have hundreds and hundreds of patrol spots… just keep each jurisdiction or area under twenty-five (25) vehicles if possible.

Q. Can the user create jurisdictions and patrol points all across Los Santos?
A. Yes.

Q. Can the user create sea and air support jurisdictions points?
A. Yes. If you’re creating custom air-support and/or sea-support jurisdictions… you can gather coordinates by using a simple trainer or enhanced trainer “airbrake” feature during gameplay, then saving the coordinates data via RHA console command “SaveLEJSLocationInfo MyLocationName”.          

Q. How accurate are the Jurisdictions and patrolling setups?
A. The script is very accurate to what the .INI file is setup to do (by you). The x, y, z coordinates, heading coordinates and the area of patrol size, are very important key components on giving the user as much control and accuracy on creating believable jurisdictions patrols.

Q. What is the difference between selecting a “Custom” and “Zone” jurisdiction setup?
A. Custom setups gives the user more options (control) for specific needs and accuracy… while Zone setups gives the user immediate selections (over 90 zones) on getting patrols setup quickly - without the needed coordinates data.

Q. Can I create “Custom” and “Zone” setups within the same jurisdiction?
A. Yes.     

Q. Is there a default .INI (prebuilt) contained in the download?
A. Yes. A few patrol points on getting you started.

Q. Can I use custom and/or renamed patrol vehicles?
A. Yes.

Q. Can I use civilian cars?
A. Yes. If it has wheels, wings and it floats - you can use it.

Q. Do the LEJS Officers react to crimes?
A. Yes and No. Officers will react to Michael’s, Trevor’s and Franklin’s crimes - not surrounding crimes (gangbangers, fights, etc…). We’re working on the latter part… so stay tuned for updates.

Q. The Officers that are patrolling - do they roam away from their areas of assignments?
A. No. As long as the user sets the correct “area of patrol size” and/or other boundaries within the .INI file… the patrolling Officers will stay within their jurisdiction scope.

Q. Will Officers leave their Jurisdictions during a commission of crime?
A. Yes. But we’re looking into giving the user the option on “not allowing pursuits beyond the set jurisdiction scope”.

Q. How do I get the axis x, y, z, and heading coordinates for my particular custom patrol needs?
A. LEJS has a custom console command “SaveLEJSLocationInfo MyLocationName” which allows you to easily save your location information in the required format of LEJS's INI file.

Q. Will there be a thread on sharing locations and coordinates?
A. Sure will. I figured some end-users may-not want to go through the hassle of plugging in data. So there will be a thread where users can share their Jurisdiction setups and/or patrolling spots (with photos) – so that others can decide if its fits their needs.

Q. How stable is the script?
A. No major problems to report.

Q. How can I edit the .INI file?
A. The nice and simplistic .INI Editor of course! 

Q. Key features?
A. Most of the key features can be viewed from the .INI Editor. However, I believe the master viewing mode (F3 Key by default) is quite impressive. You can verify the areas of patrols that you created (per immediate surrounding area), and modify them later based on your observation. And if you set the blip feature (per car) within the .INI file, you’ll see the vehicles in real-time (especially the vehicles that are set to patrol) doing their job within the area of scope that you set.

Q. What are the red, green and yellow blips in the master viewing mode (F3)?
A. If enabled in the .INI file (per vehicle), the master viewing mode lets the user know which vehicles are stationed (red), which ones are patrolling (green) and which ones are zoned spawned (yellow).  

Q. How do I reload the script if it stops working completely?
A.  Bring up the Rage Plugin Console. First, if necessary, unload the plugin by typing UnloadPlugin “Law Enforcement Jurisdiction Script.dll” and pressing enter. You can then reload it by typing LoadPlugin “Law Enforcement Jurisdiction Script.dll” and pressing enter.

Q. Can I easily make changes to the INI file while in game?
A. Absolutely! When you’re in master viewing mode (F3), you can reload the values from the INI file by pressing F5 (default). You will see the changes you made are immediately reflected by the master viewing mode for easy editing and perfecting your jurisdictions.

FYI: 
* Guys/Gals please make sure to use the correct coordinates when creating custom zones. Especially if it has a negative (-) in front of it. Example: if the coordinate states -34.789 then it should be -34.789.
 

Tutorial Video:

 
Other Videos:
 

 

Optional LEJS Livery Starter Pack (Los Santos Included):

Spoiler

ATPD%204_zpsaa3uheix.png~originalGTA5%202016-01-25%2001-46-58-73_zpsastavGTA5%202016-01-25%2001-46-52-18_zpsxl55vGTA5%202016-01-25%2001-45-47-36_zpsgieoc

 

What's New in Version 0.8.0.0 - RPH 0.41+

Released

0.8.0.0:
Updated for GTAV 1.0.944.2 and RPH 0.49.
Still works with RPH 0.41 and higher.
Various adjustments made to improve performance and stability on the new RPH & GTA.
Some slight changes in how the plugin is loaded/unloaded.
Fixed a problem that prevented the console command from working.

 

0.7.0.0:
-Added 'Random' to ambient events.
-Added 'Ambient Event Chance' field.

-Tweaked pursuit ambient event slightly.

 

0.6.0.0:
-Reworked the processor architecture target to x64 only.
-Removed various debugging symbols.
-Reworked the pullover ambient event.
-Fixed an issue where the suspect entities were not appearing/disappearing properly.

 

0.5.1.0:
-Fixed issues with the pursuit ambient event.
-Pullover ambient event implemented into custom jurisdiction setups. (Zoned setups won't work with pullovers.)
-Improved suspect entity cleanup.
-Fixed errors thrown when setting zoned jurisdictions to pursuit.
-If SirenActive is true, siren is now also no longer silent during pursuits.

 

0.5.0.0:
-Multiple zone names per zoned jurisdiction.
-Added 'writing' ambient action.
-Option of just spawning a parked vehicle without the need for an officer.
-Added the 'ambient event' field for both zoned & custom jurisdictions.
-Added 'Pursuit', 'Pullover' and 'None' to the ambient event options.

-Officers responding to other crimes is still WIP.
-Various code & performance optimizations.

 

-INI EDITOR 1.5.0.0:
Redone Zone Names
Added field for ambient event.
Added writing option.
Altered some of the layout behind the scenes code.


Hello Everyone,

Quite a few new features were added to the latest LEJS file, since the 0.4.0.0 version. As you can see from the change log a few versions (0.5, 0.5.1 and 0.6) were not released do to quality testing and making sure the release candidate is in good working order.  

•    The newest release contains options for selecting multiple zones at the same time, when creating patrol points… without the need for creating repeated layouts on covering particular area(s). 
•    There are two new vehicle ambient features for patrolling cars. Patrol and Pursuit for Zoned created patrols and Patrol and Pullover for Custom created patrols. Both ambient events have options for Random and Chance on allowing a more realistic approach. More vehicle ambient features coming soon…
•    New writing ambient action for law enforcement peds.

User Feedback

Recommended Comments

Nutt

Members Author

30 minutes ago, dilapidated said:

if its helpful id be happy to share some code that we use for helicopters in rde. :smile:

Thanks for the offer... if Albo runs into any issues, I'll be sure to let him know. As of now, it seems he gotten a handle on it. We have some other goodies in the works as well... :ninja:

dilapidated

Members

You're welcome.

Nice! Can't wait to check it out :)

Bbtricky

Members

Hi!

First of all great mod! Really love to play around with it.

 

Still having some questions about it:

1.) Every juristication only spawns once, right? I mean the game does not  spawn the same juristication again after some time. Like after 10 minutes or so...

2.) If I don't set soemthing for 'spawn chance' how is the juristication spawned? (like by accident, like 100% or never?)

3.) For the next version if possible it also would be cool to add more cars to one juristication. For Example 'Emergency Vehcle: police,police3'  for one patrol zone and the script spawns randomly one of the cars. It's not possible right now as I tested, right?

Nutt

Members Author

On Thursday, February 18, 2016 at 5:43 AM, Bbtricky said:

Hi!

First of all great mod! Really love to play around with it.

 

Still having some questions about it:

1.) Every juristication only spawns once, right? I mean the game does not  spawn the same juristication again after some time. Like after 10 minutes or so...

2.) If I don't set soemthing for 'spawn chance' how is the juristication spawned? (like by accident, like 100% or never?)

3.) For the next version if possible it also would be cool to add more cars to one juristication. For Example 'Emergency Vehcle: police,police3'  for one patrol zone and the script spawns randomly one of the cars. It's not possible right now as I tested, right?

1. The patrol points (jurisdictions) will always spawn whenever you are within the boundaries zones. The vehicles are also regulated by the options you have selected as well (i.e. chance spawn and shift times).

2. If you don't select a chance value... it's considered a default value of 100%.

3. This is already possible. You can spawn as many vehicles (of any type) within a particular zone of your choice. This includes the random spawn which "Zones" provides. Just make sure your jurisdictions have unique names (meaning, no zones/jurisdictions with the same names). 

Kal74

Members

(edited)

@Nutt has any progress been made on the Helicopter Patrol setups? Meaning making them move\patrol versus just hovering. Thanks in advance for the response!

Edited by Kal74

Nutt

Members Author

On Saturday, February 20, 2016 at 6:04 AM, Kal74 said:

@Nutt has any progress been made on the Helicopter Patrol setups? Meaning making them move\patrol versus just hovering. Thanks in advance for the response!

Yes. They patrol now. :)

Albo is working on a couple of things that I want/planned for the next update. 

Kal74

Members

7 minutes ago, Nutt said:

Yes. They patrol now. :)

Albo is working on a couple of things that I want/planned for the next update. 

awesome! So the ability to make them work will be in the next update? Am I reading that correctly?

Albo1125

Insiders

23 minutes ago, Kal74 said:

awesome! So the ability to make them work will be in the next update? Am I reading that correctly?

Most likely :smile:

snakeytoe

Members

I seem to have a problem, every time i type in Save LEJS Location Info into the console, it keeps saying Parameter "Location Name" of console command is not a option, and it doesn't save.

The Loot

Members

Do you put anything after the command? It needs at least one character so it can name the set in the save file.

Albo1125

Insiders

11 hours ago, snakeytoe said:

I seem to have a problem, every time i type in Save LEJS Location Info into the console, it keeps saying Parameter "Location Name" of console command is not a option, and it doesn't save.

 

8 hours ago, The Loot said:

Do you put anything after the command? It needs at least one character so it can name the set in the save file.

 

snakeytoe

Members

7 hours ago, Albo1125 said:

Do you put anything after the command? It needs at least one character so it can name the set in the save file.

 

No I didnt, thanks for telling me. :)

Nutt

Members Author

Nice update coming this weekend. Lots of improvements from the Wiz Albo.

Kal74

Members

(edited)

4 hours ago, Nutt said:

Nice update coming this weekend. Lots of improvements from the Wiz Albo.

Awesome can't wait for the release.. Thank-You Nutt and Thank-You Albo for continuing to deliver the fun for all of us to enjoy..:thumbsup:

 

 

Edited by Kal74

Nutt

Members Author

(edited)

Per the Wiz Albo...

LEJS 0.3.0.107 Update:
-Various optimization work for the new RPH 0.37 and GTA 1.0.678.1.
-RPH 0.37 is now required.
-Added the ability to customize weapon and equipped per officer.
-Added ambient actions for officers! Customizable per officer!
-Helicopters can maneuver about! Please use custom setup (not zoned) when setting up Helicopter patrol. It requires patrol coverage size, which is only available for custom setups.
-Thank you Dilapidated for the HELI_MISSION native use.
-Improved zone and road adherence spawns.
-Fixed other coded related issues.

INI FILE EDITOR 0.1.2.0 Updates and Fixes:
-Added fields for all the new options.
-Fixed a rare issue where INI files were being deleted when saving.
-Fixed a rare issue where entries were not being written properly.
-Editor checks for file writing permission.

FYI: Ambient actions and weapon selection do not work hand and hand. Meaning: You don't expect the officer to be holding and drinking coffee, while griping an SMG - do you? :P  So, select one function per officer or none at all.  

Updated INI File Editor:

Clipboard02_zpsustfez6e.jpg

Edited by Nutt

Kal74

Members

Excellent work to Nutt and Albo1125.. My opinion, LEJS is very addicting. I can literally spend a day setting up multiple jurisdictions :thumbsup: Your free time and hard work is greatly appreciated.. 

The Loot

Members

Great additions! Binocular animation would be a great option, though.

Albo1125

Insiders

4 hours ago, The Loot said:

Great additions! Binocular animation would be a great option, though.

Thanks for the suggestion will add in the next update :smile:

Kenyon6279

Members

Great script. Just got home and started using right away. Question? I'm pretty sure I overlooked it but is there a way to add multiple cars to in the same jurisdiction without creating a new jurisdiction or do I use the vehicle extra ID's? I'm currently playing as the gang unit in the neighborhood Davis and I have 3cars patrolling in that neighborhood but i made 3 different jurisdictions. Any advice?

The Loot

Members

24 minutes ago, Kenyon6279 said:

Great script. Just got home and started using right away. Question? I'm pretty sure I overlooked it but is there a way to add multiple cars to in the same jurisdiction without creating a new jurisdiction or do I use the vehicle extra ID's? I'm currently playing as the gang unit in the neighborhood Davis and I have 3cars patrolling in that neighborhood but i made 3 different jurisdictions. Any advice?

Jurisdiction is kind of a misnomer when working with this as each entry deals with a single vehicle. So if you want multiple vehicles in an area, you need a separate entry for each. Perhaps in the future we can define multiple vehicles per entry and have the script randomly choose one each spawn.

Kenyon6279

Members

12 minutes ago, The Loot said:

Jurisdiction is kind of a misnomer when working with this as each entry deals with a single vehicle. So if you want multiple vehicles in an area, you need a separate entry for each. Perhaps in the future we can define multiple vehicles per entry and have the script randomly choose one each spawn.

Thanks much appreciated!l didn't think I would get a response this late 

Nutt

Members Author

14 hours ago, The Loot said:

Jurisdiction is kind of a misnomer when working with this as each entry deals with a single vehicle. So if you want multiple vehicles in an area, you need a separate entry for each. Perhaps in the future we can define multiple vehicles per entry and have the script randomly choose one each spawn.

I was planning to get with Albo on making it possible to have multiple vehicle spawns with their own attributes under one common patrol setup. Instead of creating multiple patrol points, one would be able to select/add the vehicles during the first LEJS Editor session, versus multiple. Plus it would make it easier to skim the INI file without all the patrol point titles.

Kenyon6279

Members

1 hour ago, Nutt said:

I was planning to get with Albo on making it possible to have multiple vehicle spawns with their own attributes under one common patrol setup. Instead of creating multiple patrol points, one would be able to select/add the vehicles during the first LEJS Editor session, versus multiple. Plus it would make it easier to skim the INI file without all the patrol point titles.

This would be great. It doesn't bother me much making multiple patrol points only because after watching Albo tutorial I know how to make patrol points without being confused lol

Kal74

Members

Just now, Kenyon6279 said:

This would be great. It doesn't bother me much making multiple patrol points only because after watching Albo tutorial I know how to make patrol points without being confused lol

I love his tutorial videos..:thumbsup: A lot of people can solve most of their issues from just taking a few minutes to watch them.

Albo1125

Insiders

9 minutes ago, Kenyon6279 said:

This would be great. It doesn't bother me much making multiple patrol points only because after watching Albo tutorial I know how to make patrol points without being confused lol

 

7 minutes ago, Kal74 said:

I love his tutorial videos..:thumbsup: A lot of people can solve most of their issues from just taking a few minutes to watch them.

Great to hear this guys thanks :smile:

Create an account or sign in to comment

Latest Mods

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.