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.

AIDispatch (For Policing Redefined) 0.83 Alpha

(0 reviews)

1 Screenshot

Group 1 copy 2.png

AIDispatch - AI Voice Dispatch for Policing Redefined

AIDispatch is an experimental AI-powered voice dispatch plugin for LSPDFR.

This mod was heavily inspired by Grammar Police. Grammar Police has been one of the most useful LSPDFR plugins for years, but for me personally it was becoming difficult to use because of accent recognition and strict phrase/keyword requirements. I wanted something that felt similar in purpose, but that could understand more natural speech instead of needing very specific commands.

AIDispatch uses AI to listen to your radio request, understand what you are trying to do, and trigger the matching Policing Redefined dispatch action.

The goal is simple:

Talk to dispatch naturally.

Instead of memorizing exact phrases, you can say things in a more normal way and the AI will try to understand the intent. For example, if you ask for medical help, backup, a plate check, a tow truck, a ped check, or say that you are going 10-8, busy, code 6, on scene, on a traffic stop, etc., AIDispatch will try to pick the correct dispatch action.

Current features include(basically everything you can do with Grammar police):

  • Natural voice dispatch requests

  • Gemini AI voice understanding

  • Policing Redefined dispatch integration

  • Plate checks

  • Ped checks

  • Vehicle checks

  • Backup requests

  • Traffic stop backup

  • K9 requests

  • EMS requests

  • Fire department requests

  • Tow requests

  • Coroner requests

  • Animal control requests

  • Traffic control requests

  • Pursuit-related requests

  • 10-code/status commands

  • Set yourself available/unavailable for LSPDFR calls

  • Code 4, code 5, code 6, 10-8, 10-6, 10-7, on scene, responding, traffic stop, transporting, etc.

  • Optional radio key-up/key-down sounds

  • Logs for testing and bug reports

This mod was also inspired by NPCAI 3.0 and the way AI can make LSPDFR feel more natural and immersive. AIDispatch is not connected to NPCAI, but NPCAI helped inspire the idea of using AI to understand what the player is saying instead of relying only on fixed keywords.

Important:

This is a public alpha/test build. Bugs are expected.

Right now AIDispatch is built around Policing Redefined. My goal for the future is to expand compatibility with other popular LSPDFR plugins, including Stop The Ped and Ultimate Backup, so players who do not use Policing Redefined can still benefit from AI-powered dispatch controls.

Requirements:

  • GTA V Legacy

  • RAGE Plugin Hook

  • LSPDFR

  • Policing Redefined installed and working

  • A Gemini API key

  • Microphone

  • Internet connection

You can get a Gemini API key here (free):
https://aistudio.google.com/api-keys

Grammar Police is not required. For testing, I recommend disabling Grammar Police so you know which plugin is responding to your voice commands.

Ped checks:

Ped checks rely on Policing Redefined. In some cases, the ped may need to be identified through Policing Redefined before PR allows a dispatch ped check.

Testing / bug reports:

AIDispatch creates a log file here:

Grand Theft Auto V Legacy\plugins\LSPDFR\AIDispatch\AIDispatch.log

If something does not work, please send the log and include:

  • What you asked dispatch to do

  • What happened

  • What you expected to happen

  • Whether Policing Redefined can do the same action manually

Your Gemini API key is redacted in the log.

This is still early, but the goal is to create a modern AI-powered voice dispatch system for LSPDFR that feels more natural, more flexible, and easier to use during patrol.

V0.83 updates:

-Added traffic control voice support:
-stop traffic
-slow traffic
-resume/clear traffic

-Added support for more pursuit-related dispatch requests:
-pursuit backup
-air/helicopter support
-spike strips
-PIT authorization

-Removed the experimental voice-started chase vehicle targeting/blip system.

-Removed the unreliable “show me in pursuit” chase-start feature that tried to create or target LSPDFR/PR pursuits.

-AIDispatch now focuses on dispatch support during pursuits instead of trying to replace Policing Redefined’s manual right-click + T pursuit targeting.

-Improved ped check targeting.

-Improved plate check handling.

-Improved traffic stop backup handling.

-Improved command/action result logging.

-Added silent-failure protection: the log now shows whether a command was understood, attempted, succeeded, failed, or invoked but could not be verified.

-Added clearer failure handling when AIDispatch understands the request but the backend action cannot be completed.

-Added stricter AI prompt handling to reduce false positives from unclear phrases.

-Reduced cases where vague or badly transcribed phrases trigger the wrong action.

-Added better 10-9 handling for unclear or low-confidence commands.

-Added multiple possible scanner audio responses instead of always using the same basic copy response.

-Added random scanner audio selection when multiple audio names are configured.

-Improved unload safety to reduce issues when unloading/reloading LSPDFR.

-Updated DLL assembly version metadata so it no longer shows as 0.0.

-Added/confirmed Newtonsoft.Json.dll as a required dependency for Gemini API processing.

-Newtonsoft.Json.dll should now be included with the mod package and should stay next to AIDispatch.dll in plugins\LSPDFR.

-General stability and cleanup from the v0.77-v0.82 test builds.

Edited by boboediting

What's New in Version 0.83 Alpha

Released

Pasted content

AIDispatch v0.83 update notes

-Added a new customizable radio wave HUD/widget.

-Added an F12 in-game editor menu for the radio widget.

-Added separate editor controls for:
-radio wave/widget position and size
-top radio text position and size
-PIT authorization text position and size
-wave animation position and size

-Added larger editor help/tutorial text with black outline for better readability.

-Added editor safety controls so the player cannot accidentally aim, draw weapons, or fire while editing the widget.

-Added PIT maneuver authorization system.

-PIT authorization can now be requested through dispatch.

-PIT authorization has configurable timing/chance values in the ini.

-PIT authorization is unlikely early in a pursuit and can become guaranteed after the configured timer.

-PIT status can remain visible during pursuit/PIT state even when the voice radio wave is hidden.

-Added configurable PIT widget text for authorized/unauthorized states.

-Added traffic control voice support:
-stop traffic
-slow traffic
-resume/clear traffic

-Added support for more pursuit-related dispatch requests:
-pursuit backup
-air/helicopter support
-spike strips
-PIT authorization

-Removed the experimental voice-started chase vehicle targeting/blip system.

-Removed the unreliable “show me in pursuit” chase-start feature that tried to create or target LSPDFR/PR pursuits.

-AIDispatch now focuses on dispatch support during pursuits instead of trying to replace Policing Redefined’s manual right-click + T pursuit targeting.

-Improved ped check targeting.

-Improved plate check handling.

-Improved traffic stop backup handling.

-Improved command/action result logging.

-Added silent-failure protection: the log now shows whether a command was understood, attempted, succeeded, failed, or invoked but could not be verified.

-Added clearer failure handling when AIDispatch understands the request but the backend action cannot be completed.

-Added stricter AI prompt handling to reduce false positives from unclear phrases.

-Reduced cases where vague or badly transcribed phrases trigger the wrong action.

-Added better 10-9 handling for unclear or low-confidence commands.

-Added multiple possible scanner audio responses instead of always using the same basic copy response.

-Added random scanner audio selection when multiple audio names are configured.

-Improved unload safety to reduce issues when unloading/reloading LSPDFR.

-Updated DLL assembly version metadata so it no longer shows as 0.0.

-Added/confirmed Newtonsoft.Json.dll as a required dependency for Gemini API processing.

-Newtonsoft.Json.dll should now be included with the mod package and should stay next to AIDispatch.dll in plugins\LSPDFR.

-General stability and cleanup from the v0.77-v0.82 test builds.


Short Description

AI-powered voice dispatch for LSPDFR that understands natural speech and triggers Policing Redefined dispatch actions.

AI disclosure

The author has disclosed that AI tools were used in creating the following aspects of this file:

  • Description
  • Mod and Mod Content (Substantial)

I'm absolutely terrible at codding. I always use AI to troubleshoot, help me create, give me feedback and ideas on what to upload next and how to keep a pase for the future updates.

User Feedback

Recommended Comments

boboediting

Members Author

9 minutes ago, Tee6789 said:

Hey friend, just having a bit of trouble. The plugin seems to be launching and working, however I keep getting "repeat transmission" error. Somethng I'm missing? Everything seems to be in the right file path, i have the correct mic set, as well as the API key.

you have to hold the key when transmiting, if you're already doing so, send me the log from the plugin folder inside Grand Theft Auto V Legacy\plugins\LSPDFR\AIDispatch and I'll take a look at whats happening on your end.

Tee6789

Members

6 minutes ago, boboediting said:

you have to hold the key when transmiting, if you're already doing so, send me the log from the plugin folder inside Grand Theft Auto V Legacy\plugins\LSPDFR\AIDispatch and I'll take a look at whats happening on your end.

I'm missing Newtonsoft.Json lol. I can't find 13.0.0

AIDispatch.log

manu450

Members

(edited)

14 minutes ago, Tee6789 said:

Hey friend, just having a bit of trouble. The plugin seems to be launching and working, however I keep getting "repeat transmission" error. Somethng I'm missing? Everything seems to be in the right file path, i have the correct mic set, as well as the API key.

If you are just speaking randomly and not requesting anything from the dispatcher, it won't work this way. You need to make a request or provide a status, 10-8, plate check, on scene, tow truck, backup, traffic stop, etc. If you are just talking randomly, it won't work. The only difference that this mod has over grammar police, in that you can go around the request and speak freely without having the dispatcher misunderstand you. As long as the request/status is included in your speech. e.g, "dispatch, I need a plate check or 10-28, I was eating a pizza at this restaurant I like and saw this vehicle, and I think it's stolen." I think you

Get the idea?

Edited by manu450

Tee6789

Members

7 minutes ago, manu450 said:

If you are just speaking randomly and not requesting anything from the dispatcher, it won't work this way. You need to make a request or provide a status, 10-8, plate check, on scene, tow truck, backup, traffic stop, etc. If you are just talking randomly, it won't work. The only difference that this mod has over grammar police, in that you can go around the request and speak freely without having the dispatcher misunderstand you. As long as the request/status is included in your speech. e.g, "dispatch, I need a plate check or 10-28, I was eating a pizza at this restaurant I like and saw this vehicle, and I think it's stolen." I think you

Get the idea?

Correct, i'm aware. I have tried giving commands to which I'm met with "repeat last transmission" right away.

manu450

Members

Did you add the API key?

Tee6789

Members

Just now, manu450 said:

Did you add the API key?

Yep, even changed it to a new one in case the other one didn't work

manu450

Members

(edited)

Just now, Tee6789 said:

Yep, even changed it to a new one in case the other one didn't work

Are you using NPCAI by any chance? If so, you can use the same API key for both. Sounds like a microphone issue.

Edited by manu450

Tee6789

Members

Just now, manu450 said:

Are you using NPCAI by any chance?

Nope, this is a fresh install of GTA V. Aside from ELS, packfile, heap, SSLA and weapon adjusters, LSPDFR, and Policing Redefined, my game is pretty vanilla

manu450

Members

(edited)

I'll let the author guide you. I am using NPCAI, so I don't know if some dependencies are required or not for this mod. Do you have your log? If so, post it in here. Maybe something is missing. Works fine with me. Also, make sure you don't run grammar police with this.

Edited by manu450

Tee6789

Members

3 minutes ago, manu450 said:

I'll let the author guide you. I am using NPCAI, so I don't know if some dependencies are required or not for this mod. Do you have your log? If so, post it in here. Maybe something is missing. Works fine with me.

I posted the log a few comments back. Says i'm missing Newtonsoft.Json 13.0.0 but I can't find that version. Maybe I need to reinstall NCPAI and see if the required files are there too, like you said

manu450

Members

2 minutes ago, Tee6789 said:

I posted the log a few comments back. Says i'm missing Newtonsoft.Json 13.0.0 but I can't find that version. Maybe I need to reinstall NCPAI and see if the required files are there too, like you said

I sent you a private message.

boboediting

Members Author

34 minutes ago, Tee6789 said:

Nope, this is a fresh install of GTA V. Aside from ELS, packfile, heap, SSLA and weapon adjusters, LSPDFR, and Policing Redefined, my game is pretty vanillahey

50 minutes ago, Tee6789 said:

I'm missing Newtonsoft.Json lol. I can't find 13.0.0

AIDispatch.log

try downloading https://www.newtonsoft.com/json

impliedstone

Insiders

2 hours ago, boboediting said:
No image preview

Keys Enum (System.Windows.Forms)

Specifies key codes and modifiers.

This is the keybinds my mod uses. use the codes on the left of the list to change your keybind... for numpad 0 use this "DispatchTalkKey=NumPad0" for 0 on the number rows use: DispatchTalkKey=D0 . My mod should work just fine.

OK THAT HELPS ILL TRY IT

2 hours ago, boboediting said:
No image preview

Keys Enum (System.Windows.Forms)

Specifies key codes and modifiers.

This is the keybinds my mod uses. use the codes on the left of the list to change your keybind... for numpad 0 use this "DispatchTalkKey=NumPad0" for 0 on the number rows use: DispatchTalkKey=D0 . My mod should work just fine.

WHY IS THERE NO PTT SOUNDS????

boboediting

Members Author

6 hours ago, manu450 said:

RagePluginHook.log

Lspdfr crashes when unloading the Lspdfr plugin, and you can't reload Lspdfr again.

should be fixed in the 0.83 build

Michael21107

Members

4 hours ago, boboediting said:
  6 hours ago, Michael21107 said:

@boboediting Hey, just a heads up that the assembly verison of the plugin is 0.0 instead of 0.76.

thank you will fix in the next update

Nice fix for that, but the site still says 0.73 (Alpha).

impliedstone

Insiders

OK GOT IT TO WORK BUT HOW IS THIS AI I TRIED TO GET IT TO ANSWER CERTAIN THINGS AND IT GIVES ME GRAMMER POLICE ANSWERS

AM I DOING SOMETHING WRONG IN THE I N I

boboediting

Members Author

5 minutes ago, impliedstone said:

OK GOT IT TO WORK BUT HOW IS THIS AI I TRIED TO GET IT TO ANSWER CERTAIN THINGS AND IT GIVES ME GRAMMER POLICE ANSWERS

AM I DOING SOMETHING WRONG IN THE I N I

Read the description brother. I dont think the mod does what you think it does

8 minutes ago, Michael21107 said:

Nice fix for that, but the site still says 0.73 (Alpha).

Give it a few minutes it should update soon

nova2727

Members

2 hours ago, manu450 said:

I suggest you download the Blue Line Vibe dispatcher. Also, all the dispatcher responses are mostly from your Lspdfr audio REPORT_RESPONSE folder. You can change any of these files to any audio line you prefer. As long as you add them to your REPORT_RESPONSE folder located in your Lspdfr/Audio/Scanner. Make sure the path matches the one you will copy into your AI Dispatch.ini file.

Pure genius thank you

impliedstone

Insiders

4 minutes ago, boboediting said:

Read the description brother. I dont think the mod does what you think it does

Give it a few minutes it should update soon

OK I THOUGHT IS WAS AN AI DISPATCH WHERE U CAN HAVE FULL ON CONVO WITH IT

SO THIS IS NOT MUCH DIFF THAN GRAMMER POLICE ????

boboediting

Members Author

11 minutes ago, impliedstone said:

OK I THOUGHT IS WAS AN AI DISPATCH WHERE U CAN HAVE FULL ON CONVO WITH IT

SO THIS IS NOT MUCH DIFF THAN GRAMMER POLICE ????

Indeed. Right now its like grammar police but an AI interprets what you are saying so its less restrictive than grammar police. The end goal is a dispatch AI you can talk to like what you’re ralking about but this is just an Alpha so still a long way to go

ThatGuySens

Members

Will there be a animation like grammar police when hitting the action button?

boboediting

Members Author

5 minutes ago, ThatGuySens said:

Will there be a animation like grammar police when hitting the action button?

yes planned for the next major update.

Cruzo

Members

It is an awesome mod, good stuff! One thing I have noticed, though, is that it struggles when I request multiple units. Regardless of the different way I say that I need, let's say, two ambulances code-3, the dispatcher would send only one. But overall, it works great!

boboediting

Members Author

1 minute ago, Cruzo said:

It is an awesome mod, good stuff! One thing I have noticed, though, is that it struggles when I request multiple units. Regardless of the different way I say that I need, let's say, two ambulances code-3, the dispatcher would send only one. But overall, it works great!

good catch I'll try to see if thats something I can add to the mod.

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.