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

bizzlezx10r

Members

On 1/24/2016 at 2:58 AM, Nutt said:

Yes. Please remember liveries start at zero (0). Example: If the vehicle has five (5) liveries, then it's 0-4. On a rare occasion, some car mods do start at one...

So does this mean i can set liveries per locations? Meaning i  want the car in my "police 2 slot" to patrol the highway with the Highway Patrol livery but still want "police2" to patrol blaine county with blaine county livery etc

Nutt

Members Author

(edited)

16 hours ago, bizzlezx10r said:

So does this mean i can set liveries per locations? Meaning i  want the car in my "police 2 slot" to patrol the highway with the Highway Patrol livery but still want "police2" to patrol blaine county with blaine county livery etc

Yes. You can spawn/setup the same vehicle in multiple locations with different liveries.

 

Edited by Nutt

bizzlezx10r

Members

(edited)

4 hours ago, Nutt said:

Yes. You can spawn/setup the same vehicle in multiple locations with different liveries.

 

Sorry i'm also new to all this, is there a way to set a certain vehicle to ONLY patrol the whole highway? or is it just a certain vicinity?

Edited by bizzlezx10r

Nutt

Members Author

On Thursday, March 24, 2016 at 3:35 AM, bizzlezx10r said:

Sorry i'm also new to all this, is there a way to set a certain vehicle to ONLY patrol the whole highway? or is it just a certain vicinity?

As of now, you'll have to set custom setups in the area of patrol for specific freeway patrols. As custom setups give you the option for "area of patrol size". Usually what I do, is set the area of patrol size for highway patrol at 350-550 depending on the span/length of the freeway - which only limits them to the freeway (80% of the time). However I may get with Albo, and see if their is a more simplistic way of crafting highway and biway patrols.

pallemen

Members

I have a problem.

The vehicles around campus and all the other presaved spawnspoints spawn for me, but when i try to make my own it spawns far away in the sea. I have checked the coordinates with the trainer and other mods, and the exact same coordinates is saved in the ini file. I have not forgotten the - in front of the coordinates that requires it. Anyone have an idea what could be wrong?  

The Loot

Members

Use the "SaveLEJSLocationInfo" RPH command, and see if those coordinates match up with the other sources.

pallemen

Members

Just now, The Loot said:

Use the "SaveLEJSLocationInfo" RPH command, and see if those coordinates match up with the other sources.

I've checked with the trainer and a coordinate mod to se if it checks out. and the coordinates that pop up in the rage console after saving a location match up with the ones I se in the lejslocationinfo doc. It really feels like a simple problem, but i have checked, and tried several times. 

pallemen

Members

Just now, pallemen said:

I've checked with the trainer and a coordinate mod to se if it checks out. and the coordinates that pop up in the rage console after saving a location match up with the ones I se in the lejslocationinfo doc. It really feels like a simple problem, but i have checked, and tried several times. 

Ok, so now I tried with someone else's coordinates and it worked! Then I tried again with my own location and filled in all the fields that he filled in and it didn't work. must be something with my game that doesn't work properly.  

Albo1125

Insiders

6 minutes ago, pallemen said:

Ok, so now I tried with someone else's coordinates and it worked! Then I tried again with my own location and filled in all the fields that he filled in and it didn't work. must be something with my game that doesn't work properly.  

You're probably forgetting the minus (-) before the number.

pallemen

Members

Just now, Albo1125 said:

You're probably forgetting the minus (-) before the number.

No, as I said, I always put in the -. Now I even tried a location without a - and it didn't work. 

I tested another thing where I got in the vehicle that did work with the other guys coordinates, then saved that location and the x and y where the same, the z was not so exact and the heading was almost the same. 

bizzlezx10r

Members

Any plans on making this into a GUI so we can just highlight where we want certain jurisdictions to be? as oppose to plugging the location in via text

Albo1125

Insiders

(edited)

58 minutes ago, bizzlezx10r said:

Any plans on making this into a GUI so we can just highlight where we want certain jurisdictions to be? as oppose to plugging the location in via text

No, unfortunately not. This is about as user friendly as it's going to get.

Edited by Albo1125

Nutt

Members Author

On ‎3‎/‎27‎/‎2016 at 8:49 AM, pallemen said:

No, as I said, I always put in the -. Now I even tried a location without a - and it didn't work. 

I tested another thing where I got in the vehicle that did work with the other guys coordinates, then saved that location and the x and y where the same, the z was not so exact and the heading was almost the same. 

Attach the .INI file here so we can verify if there is an issue and remedy for it.

pallemen

Members

Just now, Nutt said:

Attach the .INI file here so we can verify if there is an issue and remedy for it.

The two named "mount clip" and "test1" is my own saved locations from my gam, and for me they spawn far way in the sea. The ones named hwpoint and fib are someone else's coordinates from the forum, and they spawn as they should. I tested the "teleporttolocation" command in the rage console yesterday, and used my own coordinates. That worked, but when i try the same coordinates in the LEJS editor, it doesn't. 

I'm glad I can at least enjoy the mod in some ways, and it's awesome so far. Doubt my problem have anything to do with the plugin, but I appreciate the help I can get :)

Law Enforcement Jurisdiction Script.ini

Nutt

Members Author

5 minutes ago, pallemen said:

The two named "mount clip" and "test1" is my own saved locations from my gam, and for me they spawn far way in the sea. The ones named hwpoint and fib are someone else's coordinates from the forum, and they spawn as they should. I tested the "teleporttolocation" command in the rage console yesterday, and used my own coordinates. That worked, but when i try the same coordinates in the LEJS editor, it doesn't. 

I'm glad I can at least enjoy the mod in some ways, and it's awesome so far. Doubt my problem have anything to do with the plugin, but I appreciate the help I can get :)

Law Enforcement Jurisdiction Script.ini

I'll check it out...

Nutt

Members Author

(edited)

30 minutes ago, pallemen said:

The two named "mount clip" and "test1" is my own saved locations from my gam, and for me they spawn far way in the sea. The ones named hwpoint and fib are someone else's coordinates from the forum, and they spawn as they should. I tested the "teleporttolocation" command in the rage console yesterday, and used my own coordinates. That worked, but when i try the same coordinates in the LEJS editor, it doesn't. 

I'm glad I can at least enjoy the mod in some ways, and it's awesome so far. Doubt my problem have anything to do with the plugin, but I appreciate the help I can get :)

Law Enforcement Jurisdiction Script.ini

Your issue is commas (,) - don't use them. Replace the coordinates and heading commas with periods (.). :)

Edited by Nutt

pallemen

Members

Just now, Nutt said:

Your issue is commas (,) - don't use them. Replace the coordinates and heading commas with periods (.). :)

Ok! thanks! Didn't thought that could be the problem since I copy paste, but I guess it has do do with my computer. Again thank you very much! :) 

Nutt

Members Author

(edited)

Yes, now you can have clean and undamaged vehicles patrolling the streets of Los Santos. As well as better Highway Patrol methods. Thanks to the Wiz Albo!!!

LEJS 0.4.0.0:
-Added the option to keep vehicles clean.
-Added the option to keep vehicles undamaged (invincible).
-Added functionality to keep a vehicle cosmetically undamaged within the invincible option.
-Added option on making emergency vehicles adhere to the same street and/or highway system originally spawned at (allows for better highway patrols etc.)
-Added ambient Binoculars feature.
-Improved AI driving habits.

INI EDITOR 0.1.3.0:
-Added fields for clean vehicles and invincible vehicles.
-Added Binoculars to the ambient action dropdown lists.
-Some behind the scenes optimizations.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Highway Patrol Tips.
1. Setting "Activation Boundary" between 11000-11500 will keep vehicles alive across Los Santos.
2. Setting State Patrol points across Los Santos Highways, I would suggest using "Patrol Area Size=11000" on keeping them constantly mobile throughout the game.
3. Use “Keep To Spawn Street=True” setting as a strong measure towards clamping Highway Patrol’s to their specific route. Of course, they will use exit ramps, turnabouts and major roads on getting around back to the freeway. :)
4. Check out the .INI file within the LEJS folder (Plugins) as an example or a starter template on setting up Highway Patrol's.

Edited by Nutt

Kal74

Members

Well Damn!!! you guys went ham on this update! I love it.. Thanks for all the hard work and free time spent making LEJS a phenomenal Plugin.. I know what I'll be doing tonight! :woot::thumbsup: Thank-You Nutt and Albo1125 and anyone else who had their hands in the cookie jar

OfficerAleks

Members

My cars don't appear in game, only the blips. Any suggestions?

Kal74

Members

2 minutes ago, OfficerAleks said:

My cars don't appear in game, only the blips. Any suggestions?

Load up 1 of the cars that doesn't appear in game on your INI Editor and take a screenshot of the Editor and post it.. 

OfficerAleks

Members

1 minute ago, Kal74 said:

Load up 1 of the cars that doesn't appear in game on your INI Editor and take a screenshot of the Editor and post it.. 

 

LEJS.png

OfficerAleks

Members

(edited)

Do you know what the issue is?

 

Edited by OfficerAleks

Kal74

Members

1 hour ago, OfficerAleks said:

Do you know what the issue is?

Is it all of your cars or just a few not showing up?

Albo1125

Insiders

1 hour ago, OfficerAleks said:

Do you know what the issue is?

 

11000 for your patrol area size seems a bit large. Perhaps the car is simply gone before you get to it as you'll likely always be in the patrol area.

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.