This allows you to request a pit maneuver on a fleeing AI.
I took inspiration from the old police interaction script that had a working Pit request and converted it to a stand-alone script.
Set the button you wish to use under Settings >> Key Bindings >> FiveM >> pit(AI-Pit)
Simply get lined up with the car you want to request a pit on and click the button. A notification will inform you of the car selected and a flashing blip will appear on the minimap.
You can click the button again at any time to cancel the request.
Once you get cleared to pit, perform the pit of the car or cause it to slowdown enough to trigger. When the notification says Pit successful; the driver will stop fleeing and you can order them out of the car using the FivePD features.
How to Install:
1: Unzip the AI-Pit folder from the zip.
2: Place the AI-Pit folder into your FiveM servers resource folder
3: Add start AI-Pit to the server.cfg file
If you run into any bugs let me know.