[Release][Free] AI BACKUP 2 - V1.1.2 UPDATE! - Framework Support

AI Backup 2 is a police backup script that allows you to call for police, swat, motorcycle, and air support backup for pursuits and traffic stops

AI Backup 2 is a sequel to AI Backup by Mooreiche (FiveM Scripts) and AI Backup Remastered by MajorFivePD (dsvipeer) that provides 2 new additional backup types (motorcycle and SWAT), a menu, an easy to use config file, individual department backup, and more!

INSTALLATION | REQUIREMENTS | PREVIEWS | DOWNLOAD | HOW TO USE:

  • INSTALLATION:

    • Drag “AIBackup2” folder into your server resources folder
    • Add “start AIBackup2” to your server.cfg
  • REQUIREMENTS:

  • PREVIEWS:

  • DOWNLOAD:

  • HOW TO USE:

    • To open the menu: “+” in your NUMPAD
      • This keybind is changeable in the keybinds setting of your game
      • You are only able to call ONE unit and one type of unit, you can’t call more than 1 patrol or 1 air unit, etc
      • Controller Support in this resource disabled to avoid issues while using controller

V1.1.2 BUG FIXES:

  • BUG FIX:
    • (Hopefully) Fixed issue where taxi job could open menu on QBCore

V1.1.1 BUG FIXES:

  • BUG FIX:
    • Fixed issue with motorcycle backup

V1.1.0 CHANGES | NEW FEATURES:

  • CHANGES:

    • AI Driving Behavior changed based off testing from MajorFivePD
  • NEW FEATURES:

    • ESX and QBCore Support (not tested)
    • Version Checker

V1.0.0 CHANGES | BUG FIXES | NEW FEATURES

  • CHANGES:

    • When you leave your vehicle or call backup on foot, backup units will drive to you and leave their vehicle
    • Keybind is changeable per user
  • NEW FEATURES:

    • ADDED MENU → SEE ABOVE

    • ADDED CONFIG → SEE BELOW

      • Vehicle livery support
      • Vehicle extras support
      • Different weapons for SWAT and normal patrol
      • Weapon component support
      • Multiple vehicles per department
      • And much more!
    • ADDED MULTIPLE DEPARTMENT SUPPORT → LSPD, LSSD, BCSO, SAHP, FIB

    • ADDED NEW BACKUP → SWAT

      • SWAT will follow like regular patrol units but use rifles and armored vehicles
    • ADDED NEW BACKUP → Motorcycle Unit

      • Motor Unit will follow like regular patrol units but use motorcycles

PLANNED FEATURES:

  • Fix backup not leaving their vehicle when you exit yours while they are too close
  • Add 4 SWAT team members to the SWAT backup
  • Backup enters their vehicle and follows you if you re-enter yours
  • Boat Unit

CONFIGURATION:

Notes: READ ME PLEASE. No support will be given for issues discussed here. Please use your brain!

  1. All config options support multiple values unless otherwise marked.

  2. MAKE SURE the commas in your arrays are set up correctly. Usually, if you try to start the resource with a malformed config, the console will display an error that explains this, but if it’s not working, check this first

  3. All arrays MUST be enclosed by { }. Generally, all values are in arrays, see #1.

  4. Extras and liveries are currently shared by all vehicles of their type and department. (All LSPD Patrol is the same as all LSPD Patrol but is not the same as LSPD SWAT or LSSD Patrol, etc) I may fix this, may not, idk.

  5. The livery index number is related to the number at the end of the sign texture in the vehicle ytd. The livery index starts at 0. Example: car_sign_1 is a livery for “car” with an index of 0

  6. Framework configuration must be set to “Standalone”, “ESX”, or “QBCore”. The script will not be useable if any other string is present

Credits, Permissions, and License:

AI Backup is released under GNU Affero General Public License and AI Backup Remastered is released under the GNU General Public License

From Moorieche: “Like the Scripts/Mods i publish for other Games you can edit, reupload, fix, delete, sniff, smoke or what ever you want with this script. Just do not delete anyone out of the credits and add your name to it!”

From MajorFivePD: “I’ve seen your work and I’m glad you took your time to rewrite! I’m honored to have my AIBackup work in it, great release!”

This modification of the original is released under the GNU Affero General Public License.

By blackfirefly000
Copyright C 2024
Used with permission

Modified from the Remaster by MajorFivePD (dsvipeer)
Copyright C 2023

Modified from the original by FiveM Scripts (Mooreiche)
Copyright C 2018

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
at your option any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

CREDITS:
(IceHax) - for publishing an incomplete amublance script on cfx.re which gave me the idea and basic structure to create this script
Mooreiche - Me/Original Uploader
Mobius1 - huge thanks for fixing bugs and saving me alot of headache!
MajorFivePD (dsvipeer) - All bugs were fixed + added new backup
blackfirefly000 - Menu, SWAT, Motor Unit, weapons, individual depts, config, and more
9 Likes

Fire release! Great work! :heart:

1 Like

Thank you so much! Means a lot from you! :heart:

damn the revolution is here, thx for share

1 Like

How do I get this to work for police only?

1 Like

You need to use ESX or QBCore if you want to have it tied to a police job.

Even if I enter qbcore, the taxi driver can open it

I don’t use QBCore, so I’m not sure what the issue is but I’ll do my best to diagnose. Is it only the taxi driver or can anyone open it?

Try downloading v1.1.2 on Github. I’d appreciate it if you could let me know if that fixes the issue! Thanks!

1 Like

I did that, unfortunately the menu no longer opens at all. nativeui is running.

Are you using GitHub - qbcore-framework/qb-policejob: Police Job & Evidence System For QB-Core 👮‍♀️?

Try v1.1.3 on github Release V1.1.3 · blackfirefly000/AIBackup2 · GitHub