Staff Applications Are Now Open! | Click Here to View All Open Positions ×
Jump to content
×
×
  • Create New...

NPC/AI Police Backup 0.0.1

   (1 review)

3 Screenshots

## Works great with FivePD! ##

## GITHUB - FEEL FREE TO CONTRIBUTE ##

https://github.com/Mooreiche/AIBackup

 

 

## WHAT IT DOES ##
Its a simple Script where you can trigger your Panic Button and a (NPC/AI) Police Unit will response in CODE3 to help you out. It is in early alpha but feel free to have fun with it!
I made this mod because i play FivePD with only two Friends (kinda like a COOP Game) so we really wanted the function to call backup as we are used to from LSPD:FR.

They are able to Help you in shootouts or other dangerous events. Driver will use the Combat pistol and Passenger the pump shotgun (good ol' 12gauge) in Shootouts.

 

## !!!KNOWN ISSUES!!! ##

few bugfixes were added, however, SetPedAsGroupMember() is glitchy causing driver_ped and / or passenger_ped to sometimes not be in the player's group. Which means they wont follow the Player BUT they are still able to response to you and help you in shootouts etc.

 

## INSTALL ##

Copy AIBackup folder into your FiveM resources folder, rembember to edit the server.cfg (ensure AIBackup or start AIBackup)

Works fine with FivePD!

 

## KEYBINDS ##

  • Num+ - to call backup
  • Num- - to cancel backup

 

## COMMANDS ##  (NOT REALLY NEEDED)

  • /aib - to call backup
  • /getout - get the Cops out of their car
  • /cb - cancel backup

 

  • 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, Greetings from Germany to all Capitalists around the World! What a nice World well live in! 
  • Mobius1 - huge thanks for fixing bugs and saving me alot of headache!

DO NOT DELETE ANYONE OUT OF THE CREDITS JUST ADD YOUR NAME TO IT!!!

This is my first GTA Script/Mod i did myself. 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.

  • Like 3

User Feedback

Recommended Comments

1 hour ago, Mike Oxmaul said:

so after trying this i think it is aweesome man. the crew on my server loves this.

 

Thank you so much for the comment!!! i will try my best to keep it updated and add some features in the future! 

Link to comment
Share on other sites
4 hours ago, craydon said:

been looking for a script like this for a long time, thankyou keep up the good work

thank you for the kind words! I hope you have fun with it 🙂 Me and two Friends moved last week over from LSPD:FR to FiveM and this is one feature what we missed really really hard. So i decided to write it myself with great help from Mobius01 on cfx forums.

  • Like 1
Link to comment
Share on other sites

This is awesome! The most major thing that I felt FivePD was missing. Is it possible to bind this to Code 99 from the backup menu? That way if you have the script that automatically puts in a Code 99 backup request when your health is low, it would call for AI backup as well. 

Edited by Peelster1
  • Like 1
Link to comment
Share on other sites
On 10/9/2020 at 3:28 AM, Peelster1 said:

This is awesome! The most major thing that I felt FivePD was missing. Is it possible to bind this to Code 99 from the backup menu? That way if you have the script that automatically puts in a Code 99 backup request when your health is low, it would call for AI backup as well. 


Thank you!!! It maybe would work if this Plugin was made with the FivePD api but it isnt and im not sure if it would work then. Im not a really experienced coder. But i will try my best to updating this script. btw. there is a github page if you know any coder 🙂 everyone has the rights to do what ever with this script

Edited by Mooreiche
Link to comment
Share on other sites
On 11/13/2020 at 2:32 PM, Niceaux said:

Really like it! Question tho: Is it possible to add more vehicle variations? I have added some, but it only uses the first one entered.

If you change the standard police cruiser model, the AI Backup will use it. I have them in Ford Explorers, (though I haven't updated the handling line, so if they are driving fast they could flip over.)  As far as if you can use 2 or more different vehicles for the AI Backup, I don't think this is set up to be able to do that currently.

 

I would like to figure out how to change the ped model used so I could also have Blaine county backup instead of LSPD backup when I am patrolling up north. But with the current scripting it doesn't look for where the player is in order to send the location specific police like vanilla GTA V's 911 feature does. By applying a Blaine county livery to the car it works, but the peds are still LSPD because I don't know how to change the ped models.

Edited by Peelster1
Link to comment
Share on other sites
6 hours ago, Trooper_Chronicles said:

How come, even though I am logged in, I get

  • Sorry, you aren't permitted to download this file.
    
    Sorry, you aren't permitted to download this file.

    I would message a moderator or open up a support ticket, whatever the proper process is here. The download works fine for me.

 

Link to comment
Share on other sites

Hi, is there anyway to change the keybinds? I play on controller and whenever I click the bumpers, to get my weapon out, it calls or stops backup.
Managed to find it.

Edited by Crisp0millian0LTD
Link to comment
Share on other sites
On 2/4/2021 at 11:57 AM, Crisp0millian0LTD said:

Hi, is there anyway to change the keybinds? I play on controller and whenever I click the bumpers, to get my weapon out, it calls or stops backup.
Managed to find it.

What did you do to remove it from the controller bumpers? I frequently play with controller and was having this issue as well, I tried changing it but ended up completely breaking it somehow so just deleted it and re-installed it. I want it to still be bound to the same Num-pad keybinds, just don't want it bound to controller as well...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.