=======================================================
GTA V - LSPDFR - Ultimate Backup
Version 1.8.7.0 | Developed by BejoIjo Productions
BejoIjo Plugins: https://www.bejoijo.com
Copyright (c) 2021 All Rights Reserved
=======================================================

DISCLAIMER: 
-----------
!!!! WE CANNOT BE HELD RESPONSIBLE FOR ANY LOSS OR DAMAGE THAT MAY ARISE AS A RESULT OF THE USE OF OUR WEBSITE OR PLUGINS !!!!


COPYRIGHT NOTICE:
-----------------
!!!!!!!!!!  You may not distribute or exploit this plugin without our express written permission  !!!!!!!!!!!
!!!! Nor may transmit it or store it in any other website or other form of electronics retrieval systems !!!!


PREREQUISITES:
--------------
1. Rage Plugin Hook v1.84
2. LSPD First Response v0.4.8 by G17
3. Rage Native UI v1.6.3.0 by alexguirre
4. Stop The Ped latest version by BejoIjo
5. CompuLite latest version by BejoIjo


OPTIONAL 3RD PARTY PLUGINS:
---------------------------
1. Traffic Policer latest version by Albo1125 (to have compatibility with older plugins/callouts on ped drug/drunk flags and vehicle registration/insurance status)
2. Police SmartRadio latest version by Albo1125 (to request backup using Police SmartRadio)
3. VocalDispatch latest version by turbofandude (if you want voice command to call backups)


OVERVIEW:
---------
I created this plugin to replace the default LSPDFR Police Backup menu and combine the power of my previous three backup plugins to assist the player during traffic stop, pursuit, and on scene situations.
More over, you can also customize the police units components, properties, and weapons based on regions and zones in LSPDFR.

!!ATTENTION!! 
- You will no longger need "Traffic Stop Backup", "On Scene Backup", and "Spike trips Backup" plugins, since they are already built in to the Ultimate Backup plugin. 
- You may remove them safely.
- I recommend you to use "Ultimate Backup" instead of those 3 plugins above, because they have been discontinued. I'll no longer support those plugins.


INSTALLATION:
-------------
- Copy the contents of "Plugins\LSPDFR" in this package to: "GTA V directory\plugins\LSPDFR"
- If you haven't had "RageNativeUI.dll" in your "main GTA V folder", don't forget to copy the file from this package
- If you already have newer "RageNativeUI.dll", please keep using it. No need to overwrite the file
- Please open and edit "UltimateBackup.ini" file, if you want to replace the keyboard key or controller button bindings and any other plugin parameters


HOW TO USE:
-----------
- To toggle "Ultimate Backup" menu, press "B" key. If you have keybind collision, you may change the key in the .ini file or change the LSPDFR Backup keybind
- You can also customize the toggle menu key or button in the UltimateBackup.ini file
- If you have PoliceSmartRadio or VocalDispatch, this plugin will automatically detect and integrate their funtionalities with Ultimate Backup
- You may dismiss all backups by HOLDING "ENTER" key.
- You may also customize the backup unit by editing the "DefaultRegions.xml", "CustomRegions.xml", and "SpecialUnits.xml" files inside "UltimateBackup" folder


XML FILES:
----------
- "DefaultRegions.xml": This file contains default LSPDFR regions which will be used as fallback when your location is not found in the "CustomRegions.xml"
- "CustomRegions.xml": This file contains user defined regions which will override the definition in the "DefaultRegions.xml" for the designated zones
- "SpecialUnits.xml": This file contains additional "Special Units" that will be added into the Ultimate Backup Menu (orange color)


FEATURES:
---------
- Very easy to navigate and request backups using "RageNativeUI" menu system

- Very easy to customize the backup unit using XML file format similar with the default LSPFR backup.xml file
  # You can assign vehicle attributes to the backup unit (color, livery, extras, no of passengers, and chance of passengers)
  # You can assign components and properties of the police buddy (including hats, glasses, earpieces, and watches)
  # You can assign weapons to the police buddy, which is divided into 3 groups (non-lethal, handguns, and long-guns)
  # You can set any weapon component (e.g. weapon flashlight, clips, scope, grip) up to 6 components
  # You can define the probability (chance) of each "VehicleSets", "Vehicles", "Peds", "HandGuns", and "LongGuns"
  # You may have your own "Special Unit" and add it into the menu by editing "SpecialUnits.xml" file
  # You may also choose and customize the dog model and textures for your K9 unit

- Using PoliceSmartRadio, you can call: ("Local Patrol" only)
  # Traffic Stop Backup
  # Felony Stop Backup
  # K9 Unit Backup
  # Spike Strips Backup
  # Roadblock Backup
  # Female Backup (to assist you with female suspect)

- Using VocalDispatch, you can call: ("Local Patrol" only)
  # Code 2 Backup
  # Code 3 Backup
  # Pursuit Backup
  # Traffic Stop Backup
  # Felony Stop Backup
  # K9 Unit Backup
  # Spike Strips Backup
  # Roadblock Backup
  # Female Backup

- Using the Ultimate Backup Menu, you can call all kind of backups including "State Patrol", "SWAT Backups", "Air Units", "Ambulance", and "Fire Department"

- You can convert any "Police Buddy" to become your "Partner". The partner will followand supportyou wherever you go on foot or when driving with vehicle.
  To convert a partner, simply call any cop backup units. When the buddy is in standby position, stand face-to-face and press "Enter" key.

- Ambulance unit will tend to the bodies and try to perform CPR

- Fire Department will find any fire sources and try to stop them. They can also tend to the bodies and perform CPR

- Code 2 backup will arrivewith their gun holstered. Meanwhile, the Code 3 backup units will always have their gun drawn

- The Backup units (except pursuit backup) will stay and stand by for you until you dismiss them  (hold "Y" key or "DPadUp" button while standing face-to-face) or leave them away 

- You can ask Code 2 and Code 3 backups to hold position or resume following you on your own discretion. To do that, press "T" key or "DPadLeft" button while standing face-to-face with the Police Buddy

- If a unit consists of several cops (e.g. SWAT), you can just dismiss the group leader or driver (with the biggest blue blip) to dismiss them all

- The Spike Strips Backup in this plugin will automatically detect target vehicle during the pursuit

- There's a new"Panic Button" for PoliceSmartRadio by this plugin, where you can customize the units being dispatched in the UltimateBackup.ini file. You can modify the panic button sound audio which is located on "plugins\LSPDFR\UltimateBackup\Audio" folder

- You can customize the "Special Unit" backup and assign a specific role to them. Available roles are "cop", "medic", and "fireman"

- You can also assign a helicopter as a vehicle for your "Air Unit". Because the ped will get out with rappel animation, the helicopter model should have rappel device support. You can see example of this unit on "Air Ambulance" and "Air SWAT Backup"

- You can customize Police Transport and Coroner ped and vehicle models in "DefaultRegions.xml". Please take a note that you need "Stop The Ped" to call those units

- Ultimate Backup also supports the multiplayer freemode ped models (MP_M_FREEMODE_01 and MP_F_FREEMODE_01). 
  You can customize the components and props the same way as the vanilla (preset) GTA characters. You can find example on "DefaultRegions.xml" of Los Santos City local patrol.
  Since the vanilla GTA V MP freemode only support outfits for LSPD, you will need EUP pack to use other agency's outfit (e.g. LSSD) and customize it by yourself.

TIPS: To help you customizing the peds, make sure to use GTA V Simple Trainer (TrainerV) to observe and get the number or index from each components and props.


TRAFFIC STOP BACKUP
--------------------
- Perform a traffic stop and pull over the suspect, then position you car behind the stopped car
- Make sure you have enough space on your back to allow the police backup car to stop.
- Open Ultimate Backup Menu and choose the "Traffic Stop" backup unit. (you can also use PoliceSmartRadio)
- Wait a few seconds and your police backup will be coming and park the car right behind yours
- Allow the police backup to walk and take position
- When everything's fine, police buddy will be waiting for you until you dismiss him (do it by standing in front of him face-to-face) or until you're leaving the scene


OBSERVATION REPORT:
-------------------
- When your police buddy taking position during the traffic stop, he/she will observe the stopped vehicle, including the driver and passengers.
- If your buddy found something suspicious, he/she will report it to you through notification
- Based on that report, you may conduct further investigation by performing a search on the reported subject.
- You must have a third party search plugin to do that. Supported search plugins are:
  # Search Warrant by Darkmyre
  # Police Search by FtDLulz


FELONY STOP
------------
- Perform a traffic stop and pull over the suspect, then position you car behind the stopped car
- Make sure you have enough space on your back to allow the police backup car to stop
- Open Ultimate Backup Menu and choose the "Felony Stop" backup unit from the "Backup Type" selection. (you can also use PoliceSmartRadio)
- The backup unit will park the car next to yours and then aim the weapon at the suspect
- You can start the felony stop process by aiming your weapon at the suspect
- By aiming your weapon, suspect and passengers will leave vehicle one by one. They'll walk backwards, then stop an kneeling with back hands behind their head
- The arresting officer will grab the suspect onto the back of the vehicle and then guard them


K9 BACKUP
-----------
- K9 Backup unit is an additional unit which can only be called when you need assistance to inspect the vehicle using K9 (dog) during traffic stop
- When the K9 officer tells you that he/she is ready, move your character in front of him/her face-to-face to make him/her start the vehicle inspection using K9
- The K9 can also detect threat from the suspects. If so, it will attack the ped.
- The inspection will take a while. Once it's done, the K9 officer will tell you the result.
- Please make sure to have a car width space on the suspect vehicle right side to allow those units to move. If there's not enough space, then expect for any glitches.
- You may choose the dog model name for k9 backup unit. Set the "k9_model" attibute within "VehicleSet". It is only valid for "K9LocalPatrol" and "K9StatePatrol"
  Available dog models are: "CHOP", "HUSKY", "SHEPHERD", "ROTTWEILER", "RETRIEVER". (if nothing is set, default would be "SHEPHERD")


POLICE PARTNER
---------------
- There are 3 possible ways to get partner:
  # "Convert" Ultimate Backup Police Buddy as your partner, stand in front of them and pres "Enter"
  # "Spawn" a partner who will wear player's outfits and weapons. You can do this by using Ultimate Backup Menu 
  # "Recruit" nearest ped (ambient cop or civilian) as your partner by standing next to them. You can do this by using Ultimate Backup Menu 

- Weapon configuration for "Spawned" and "Recruited" partners:
  # They will match the player's current weapon configuration in the game's weapon wheel
  # If player have multiple handguns, only 1 handgun (the first one in the order) will be assigned to partner
  # If player have multiple long guns, only 1 long gun (the first one in the order) will be assigned to partner
  # When player doesn't have handgun and long gun, partner will not be assigned with it either
  # By default, partner will always have stungun (taser)

- You have to press "T" key or "DPadUp + X" button while inside the car to ask Police Partner to get into the vehicle.
  This will help with the situation when you just want to your vehicle to perform something quickly (e.g. check ped record on police computer)

- Police Partner may have their own vehicle:
  # You may choose the vehicle model based on your current vehicle model or predefined model list (configurable on the UltimateBackup.ini as "PartnerVehicleModels")
  # You may set the vehicle follow position (behind, left, right)
  # When your vehicle is full, regular partner might take a ride on partner's vehicle


K9 PARTNER
----------
  # You can spawn K9 Partner through the Ultimate Backup Menu
  # To ask K9 to leave or enter the vehicle, go to the right side of your vehicle and press "T" key or "DPadLeft" (Note: The K9 only occupy rear passenger side seat)
  # You can use the "Automatic K9 Door" to make K9 enter/exit the vehicle without manually opening the vehicle door. (Hold "T" key or "DPadLeft" button)
  # To ask K9 to inspect a vehicle, stand near the vehicle and press "T" key or "DPadLeft"
  # K9 Partner will follow when you're on foot and when there's a threat or fleeing peds, it will automatically chase and attack them


IMPORTANT NOTES
----------------
- About Backup car parking position:
  # When it is called with Code 2 or Traffic Stop, the backup vehicle will try to park behind player's vehicle (lining up). Make sure to park parallel with the road and provide enough space for the backup cars to stop and park their cars.
  # When it is called with Code 3 , the unit will just come as quickly as possible and stop the vehicle at nearest location
  # If you call code 2 backup, but the scene is not safe (threat detected) or you (player) is too far away from your police car, then backup parking position will not be lined up (it will stop at nearest location)

- About sirens sound:
  # By default, while in Code 2 or Traffic Stop, siren sound is set to silent by this plugin.
  # This will work great when you're using non-ELS car models.
  # But there's a limitation for ELS car. It will still play the siren sound, eventhough the plugin has turned it off.
  # If you are using ELS car and you want a silent siren while in Code 2, set "IsCode2SirenLightsOn" parameter in the .ini file to "no".

- About Traffic Stop Backup
  # To enable Traffic Stop Backup Menu, You need to have a car pulled over and have the driver still inside the vehicle
  # If you ask the driver to get out of the vehicle, the traffic stop session will be closed by LSPDFR and you will not be able to open Traffic Stop Backup Menu

- About Threat detection range
  # Sometimes if you can see threat (shootings or weapon), but your buddies don't react, you need to increase the "ThreatDetectionRange" parameter in the .ini file
  # I set the default value to "30" to support all range of CPU specs while maintaining good frames performance
  # If you feel your CPU is strong enough, you can increase the value slightly by 10. (e.g. 40, 50)


CUSTOMIZING TIPS 
-----------------
To help you customizing the peds, make sure to use GTA V Simple Trainer (TrainerV) to observe and get the number or index from each components and props. 
The component index is always the same between TrainerV (Model Spawning -> Clothes Menu) and Ultimate backup 
    0 => Head = comp_face 
    1 => Beard = comp_beard 
    2 => Hair = comp_hair 
    3 => Upper = comp_shirt 
    4 => Lower = comp_pants 
    5 => Hands = comp_hands 
    6 => Shoes = comp_shoes 
    7 => Teeth = comp_eyes 
    8 => Accessory = comp_accessories 
    9 => Accessory2 = comp_tasks 
    10 => Badges = comp_decals 
    11 => Shirt Overlay = comp_shirtoverlay 
  
If you see the "Component ID" in LSPDFR "outfits.xml", the ID is actually the above index. 
Please beware that the values for comp, props, and tex in UB is always following the TrainerV, which is started from 1. 
Unlike LSPDFR outfit.xml which is started from 0.  
  
Mappings for props: 
    0 => Hats = prop_hats 
    1 => Glasses = prop_glasses 
    2 => Misc = prop_ears 
    6 => Watches = prop_watches


FOR DEVELOPERS
--------------
You can call almost all backup units using "UltimateBackup.API.Functions" module in "UltimateBackup.dll" file.
Please note that to call those APIs, you should have a static class wrapper, similar with all popular plugins API.


Please feel free to contact me through LSPDFR forum or download's comment section for any issue you encountered with this plugin.
Happy patroling! Enjoy! 


SPECIAL THANKS TO:
------------------
- Albo1125 for all your plugins which make LSPDFR very joyful!
- alexguirre for all your open source modules and plugins for LSPDFR


VERSION HISTORY
---------------
v1.8.7.0 (latest)
- Fixed Bug. Air Ambulance is never coming when called

v1.8.6.0
- New Feature. The Air Ambulance unit may arrive and land the helicopter on the ground. You may choose for them to land or rappelling down.
- Improvement. Added API to check if a ped is Ultimate Backup cop "isUltimateBackupCop()"
- Fixed Bug. Sometimes the air ambulance helicopter won't despawn after leaving the scene
- Fixed Bug. Sometimes unwanted blips still remains after pursuit

v1.8.5.7
- Added compatibility support for LSPDFR 0.4.9
- Added support for the new verification protocol

v1.8.5.6
- New Feature. Added Language and localization support. You may edit "UltimateBackup\Localization.ini" file to customize it

v1.8.5.5
- Improvement. When code 2 backup arrive on the scene and traffic stop backup vehicle is already there first, they will stop properly (no hit and push)
- Improvement. When pursuit ends, the pursuit backup units which are very far from player will drive to the scene instead of running on foot
- Improvement. Tweaked the driving AI of the partner with own vehicle, especially to handle the distancing and slowing down. They should not hit you anymore as long as you don't do "brake check"
- Fixed Bug. When player is escorting the suspect to jail, vehicles owned by partners will not disappear anymore
- Fixed Bug. Sometimes partner with own vehicle decided to leave the vehicle when they are still far away from player
- Fixed Bug. Sometimes the sirens sound on partner's owned vehicle (particularly ELS vehicle) should be turned off after the partner exits the vehicle
- Fixed Bug. Sometimes partner cannot enter the vehicle because the door is locked

v1.8.5.4
- Fixed Bug. Sometimes partner with own vehicle is stopped and won't follow the player (e.g. when performing traffic stop)
- Fixed Bug. After pursuit ended, sometimes the UB cop who arrested the suspect won't stay and guard the suspect

v1.8.5.3
- Improvement. Tweaked partner vehicle speed when catching up to the player
- Improvement. Partner with own vehicle will no longer stop and exit the vehicle far away from the player
- Improvement. Removed back-left and back-right vehicle follow position (GTA V API bugs)

v1.8.5.2
- New Feature. Police Partner may have their own vehicle
  # You may choose the vehicle model based on your current vehicle model or predefined model list (configurable on the UltimateBackup.ini as "PartnerVehicleModels")
  # You may set the vehicle follow position (behind, left, right)
  # When your vehicle is full, regular partner might take a ride on partner's vehicle
- Improvement. Added a new API "callCode3SwatBackup" to call the tactical unit backup (SWAT or NOOSE)

v1.8.5.1
- Improvement. Added handler to fix the condition where the backup vehicle does not come because the vehicle is flipped upside down
- Improvement. Added API function "dismissAllBackupUnits" to dismiss all backup units
- Fixed Bug. Backup cops don't dismiss completely when one of the unit member within the unit is converted as partner
- Fixed Bug. The cops called from UB Pursuit Backup were still doing one handed gangster style aiming

v1.8.5.0
- Improvement. Reduced the delay when spawning partners

v1.8.4.3
- New Feature. Revamped the handling of suspect and passenger on Felony Stop
   # By aiming your weapon, each passenger will leave vehicle one by one. They'll walk backwards, then stop an kneeling with back hands behind their head
   # The arresting officer will grab the suspect onto the back of the vehicle and then guard them
- Improvement. Added "Dismiss All Partners" option to the Ultimate Backup menu (Partner section)
- Improvement. The UB menu will kept open when spawning Partner, so you can easily spawn many partners easily
- Improvement. Tweaked UB cops AI to be more tactical while engaging suspects during a gunfight 
- Improvement. The native radio animation (left arm reaching left upper chest) will be played flawlessly while character is walking/running, so the right arm will not affected it will swing naturally
- Improvement. Now UB Pursuit Backup who arrests a suspect far away from player, will stay and guard the suspect
- Improvement. Added special handling to take care LSPDFR "Report Crime" function glitch which sometimes makes UB cops a suspect
- Fixed Bug. Sometimes the cop passengers are left behind by their vehicle unit during dismissal

v1.8.4.2
- Improvement. Police Budy and Partner will not aim the handgun using the "one-handed gangster style" any more
- Improvement. Tweaked the backup vehicle driver AI to prevent them for making a U-turn when leaving the scene
- Fixed Bug. Removed the infamous "ysysnosg" notification bug
- Fixed Bug. Sometimes (very rare) the blip on map is not cleaned up properly
- Fixed Bug. Sometimes (very rare) the backup vehicle spawns under the ground

v1.8.4.1
- Added compatibility support for older LSPDFR version prior to 0.4.8
- Fixed Bug. LSPDFR Crashes when calling backup unit. (only happened on older LSPDFR)

v1.8.4.0
- Added compatibility support for LSPDFR 0.4.8
- New Feature. Player will play the Radio dispatch animation from LSPDFR when contacting dispatch. You may select the animation type from LSPDFR interaction menu. (only works with LSPDFR 0.4.8)
- New Feature. Added a bunch of Ultimate Backup API overload Functions with the ability to call for State Patrol
- Fixed Bug. Sometimes Police Buddy blip stays on the map after they leave the scene
- Fixed Bug. Sometimes Firemen are not leaving the scene if one of them is died in action

v1.8.3.2
- New Feature. The paramedic will try to heal stopped ped and police buddy when their health stat is not max
- Improvement. Tweaked the spawn location, so no more unit is spawned too close to the player
- Improvement. Tweaked the spawn location of pursuit backup, so no more vehicle is spawned suddenly in front of the player

v1.8.3.1
- Fixed Bug. The K9 Partner is freezing and can't do anything after being asked to inspect the vehicle

v1.8.3.0
- New Feature. You may call the backup units to waypoint that you set on the map
- Improvement. Major code refactor to reduce significant CPU and memory resource when calling multiple partner and multiple backup
- Improvement. Tweaked the Code 3 backup vehicle speed a little bit faster
- Fixed Bug. When requesting Spike strip and Roadblock, sometimes it's cancelled with message "suspect is not in vehicle" if the suspect is far away
- Fixed Bug. K9 partner doesn't start to inspect the vehicle when player is standing on the left side of the vehicle
- Fixed Bug. The police buddy should follow to aim the weapon when player aim a weapon to a ped
- Fixed Bug. The police buddy taser laser should be rendered properly
- Fixed Bug. The backup type selection on the menu is not working when using the new RageNativeUI version 1.7

v1.8.2.8
- New Feature. Added ability to change/update current partner's weapons on the fly using the UB partner menu
- Improvement. Now your police partners will automatically replenish their health and armor after entering the vehicle
- Improvement. Changed the "Dismiss Buddy" action from "Hold Y" to "Hold U" key to avoid a conflict with accepting callout key
- Improvement. Police buddy or partner will not join pursuit if they are guarding an arrested suspect
- Fixed Bug. Sometimes during pursuit, police buddy teleport in front of player car
- Fixed Bug. Sometimes spike strip and road block are always immediately cancelled when there are 2 suspects in separate vehicles in the pursuit

v1.8.2.7
- New Feature. A new "Air Spotlight Support" (Helicopter with spotlight) that you can call during Traffic Stop or Felony Stop situations
- New Feature. Now you can switch the police buddy who guarding the suspect. It is useful when you called a female backup and want them to guard the female ped. (Requires the latest Stop The Ped)
- Improvement. After the police buddy arresting the suspect, they will automatically guard the suspect (Requires the latest Stop The Ped)
- Improvement. Changed Partner and K9 Partner blip icon style on the map to make them more noticeable
- Fixed Bug. Sometimes K9 Partner stuck and walk in place when entering your vehicle

v1.8.2.6
- Improvement. Changed the individual dismiss buddy shortcut to "Hold Y key" or "Hold DPadUp button" when standing face-to-face. The old shortcuts might trigger accidental dismissal
- Improvement. Increased the time window to stop the ped after the EMS revived them
- Fixed Bug. There was a glitch when the patient is on the stretcher after the player stopped them very late
- Fixed Bug. Sometimes the buddy or partner still disappears after pursuit
- Fixed Bug. During pursuit, The buddy sometimes always use lethal weapon

v1.8.2.5
- Improvement. Restructured the Ultimate Backup Menu to make it more compact and easier to access
- Improvement. When paramedic gives you medkit, your clothes will also be cleaned in addition to restored health
- Improvement. When paramedic gives you medkit, only your health level is restored. To restore your armor, use "Replenish Health-Armor-Ammo" from STP
- Fixed Bug. Sometimes (very rare), backup unit and their blips doesn't show up
- Fixed Bug. Sometimes Buddy is still shooting at the suspect after the ped is resuscitated by medic
- Fixed Bug. When somehow your partner is very far away from your position, they should teleport only if you're not driving vehicle

v1.8.2.4
- Fixed Bug. The Traffic Stop Backup and K9 Backup unit just stand still after leaving the vehicle

v1.8.2.3
- Improvement. Changed the controller button to "DPadUp + X" to ask partner to get into the vehicle, so it won't be accidently triggered when navigating CompuLite using controller
- Fixed Bug. When requesting a backup unit (Traffic Stop, Code 2/3), sometimes the vehicle never come to the scene
- Fixed Bug. Sometimes Fire department unit didn't return to the vehicle and leave the scene properly

v1.8.2.2
- Improvement. Now You have to press "T" key or "DPadUp" while inside the car to ask Police Partner to get into the vehicle. This will help with the situation when you just want to get into your vehicle to perform something quickly (e.g. check ped record on police computer)
- Improvement. The Partner who already in a foot pursuit now can be called to get into your vehicle (using "T" or "DPadUp")
- Improvement. K9 Partner will be more reactive and responsive to chase the pursuit suspects. Please note that K9 will not chase the suspect if they are driving/riding a vehicle
- Improvement. Tweaked the way K9 Partner enter and exit the vehicle to make it quicker and more fluid
- Fixed Bug. When switching K9 model using UB menu, the K9 Partner's blip disappears from the map
- Fixed Bug. Having K9 Partner in our side triggers the "Request Animal Control" selection on STP Context Menu
- Fixed Bug. Sometimes Police Buddy won't guard a ped that had been guarded by another buddy before
- Fixed Bug. Sometimes our human Partner is shooting at the K9 Partner

v1.8.2.1
- Improvement. Added new public API to call Panic Button backup and Group backup from Ultimate Backup
- Fixed Bug. Buddy did not engage to guard the stopped ARMY ped
- Fixed Bug. Air SWAT Backup is failed to come (e.g. falling from the sky)

v1.8.2.0
- Improvement. Added more handlings to avoid UB Partner from disappearing, which usually happens during a pursuit
- Improvement. Police Buddy and Partner now will provide a gunpoint cover when you are arresting the ped using vanilla LSPDFR and Stop The Ped takedown. (You need to aim at the subject to trigger this)
- Improvement. Police Buddy and Partner will try NOT to use lethal weapon when the suspect attacking with only melee weapon
- Improvement. Now you can modify the panic button sound audio which is located on "GTA V\plugins\LSPDFR\UltimateBackup\Audio" folder
- Improvement. Added handling to avoid the patient on EMS stretcher becomes glitchy (e.g. not laying down). It's usually caused by a conflict with callouts ot other plugins
- Improvement. Added Developer API Overload with radio animation boolean flag to request "Code 2", "Code 3", and "Pursuit" backups to be accessed by other plugins that need it
- Improvement. Added parameter to define Police Buddy's taser laser beam length. To disable the laser, just set it to 0
- Fixed Bug. A weird animation when K9 Partner attacked animal threats (e.g. mountain lion) to protect us

v1.8.1.9
- Improvement. Customizable "K9 Partner Interaction" key/button in the UltimateBackup.ini file. ("K9PartnerInteractionKey" and "K9PartnerInteractionButton")
- Improvement. Added support for StopThePed new API on drunk/drug flag for police buddy traffic stop observation result (useful when you don't have Traffic Policer installed)
- Improvement. Added more handling to avoid buddy/partner from disappearing
- Improvement. When its night time, partner/buddy would shine the flashlight on a ped they are guarding
- Improvement. Added notification to empty the vehicle when you ask K9 Partner to inspect the vehicle

v1.8.1.8
- Fixed Bug. The Ambulance (EMS), which is called automatically by Fire Dept, doesn't take the survived ped
- Fixed Bug. During dimissal, Fireman driver is still trying to drive the vehicle even though it's damaged
- Fixed Bug. Conflict with Traffic Policer door lock caused K9 Partner slides out of the vehicle

v1.8.1.7
- Improvement. Added special handling/workaround to a few locations I called "GTA Bermuda Triangle", where you always have issue when spawning entities (e.g in front of Mission Row Police Station and Franklin's old house)
- Improvement. Added more handling to avoid Partner, K9, and Buddies disappearing
- Improvement. Tweaked Spike Strips and roadblock spawn location
- Fixed Bug. Sometimes K9 Partner disappears after entering the car
- Fixed Bug. Sometimes K9 Partner slides out of the vehicle into the bottom of the car ground after entering
- Fixed Bug. When calling air unit, the responding cop voice is incorrect (should be from the air unit)

v1.8.1.5
- New Feature. You may spawn Partner (cop) based from Ultimate Backup unit outfits and location/region configurations (e.g. Now you can spawn a female partner, gang unit, SWAT, etc)
- Improvement. Increased Roadblock effectiveness
- Improvement. Traffic stop backup (including K9 and partners) will not go to the right side when there's no space on the right side of suspect vehicle
- Improvement. Added more error handlings to make K9 Partner more stable (avoiding despawns)
- Improvement. Handle K9 suspect better (e.g. suspect should no longer despawned after got bitten by our K9 Partner)
- Improvement. The K9 suspect will get a yellow blip on the map when they surrender

v1.8.1.4
- Improvement. Set the buddy's flashlight angle during traffic stop backup should follow vehicle height (e.g. for sedan, flashlight is pointed lower)
- Fixed Bug. Sometimes the "K9 inspect vehicle" is not triggered and pressing "T" doesn't do anything
- Fixed Bug. Better handling between pressing and holding "T or DPadLeft" on K9 Partner. Sometimes if player pressing and holding at the same time, it would cause a major glitch
- Fixed bug. When entering the vehicle, the the K9 Partner sometimes closes the door by itself with a weird human animation
- Fixed Bug. Sometimes K9 Partner is just standing and not following player

v1.8.1.3
- Improvement. K9 vehicle inspection should also detect suspicious items (powder, pill, crystall, etc)
- Improvement. Turn off siren sound when fire department arrives on the scene
- Fixed Bug. Sometimes K9 Partner disappear when vehicle is not suitable for K9 (e.g. does not have rear passenger seat)
- Fixed Bug. Sometimes K9 partner just teleport when entering vehicle using automatic K9 door

v1.8.1.2
- New Feature. A new K9 Partner, which is accessible through the Ultimate Backup Menu
   # To ask K9 to leave or enter the vehicle, go to the right side of your vehicle and press "T" key or "DPadLeft" (Note: The K9 only occupy rear passenger side seat)
   # To ask K9 to inspect a vehicle, stand near the vehicle and press "T" key or "DPadLeft"
   # K9 Partner will follow when you're on foot and when there's a threat or fleeing peds, it will automatically chase and attack them
   # You can use the "Automatic K9 Door" to make K9 enter/exit the vehicle without manually opening the vehicle door. (Hold "T" key or "DPadLeft" button)
- Improvement. Now you can toggle (open/close) UB Menu using the same key/button (default: "B")
- Improvement. Tuned the timing when Partner start entering the vehicle to avoid collisions
- Improvement. Firetruck unit can fire water cannon to control the fire
- Fixed Bug. In the dismissal, the buddies still get into the vehicle even though it is not drivable
- Fixed Bug. Police Partner doesn't occupy all vehicle external seats

v1.8.1.1
- New Feature. Police Buddy's Tasers will have laser sight
- Improvement. Code refactoring which significantly improves performance. (e.g. Less FPS impact when calling multiple units)
- Improvement. Tweaked the dismissal distance so the backup or partner will not be so easily dismissed/disappear after a pursuit
- Improvement. Changed Ultimate Backup Menu background
- improvement. Tweaked the spawn location for spike strips and roadblock to avoid being spawned on alley or small road.

v1.7.8.9
- Improvement. Added flashlight support for All Backup Units. (Some of the cops in the backup unit will not draw flashlight for performance reason)
- Improvement. Tweaked down the aggressiveness of the backup's driver when leaving the scene to avoid messing things up
- Fixed Bug. Sometimes partners disappear when putting down their flashlights

v1.7.8.8
- Added support for LSPDFR 0.4.7
- New Feature. Police Partners now will draw their flashlights when player switches the weapon wheel to flashlight
- Improvement. Tweaking down a little bit the Police Buddy AI aggresiveness
- Improvement. When player switch to hold a firearm but the police buddy doesn't have any, they will arm with stungun instead of empty hand
- Improvement. Many small tweaks that will improve the gameplay fluidity

v1.7.8.7
- New Feature. A revamped Paramedics and Fire Dept units AI and mechanics.
   # Paramedic unit will use stretcher to transport the injured ped to the ambulance. The stretcher prop name is configurable in the ini file ("AmbulanceStretcherModel")
   # Only Ambulance unit can transport survived peds
   # The Firemen from Fire Dept unit can still handle fire and perform CPR but it will no longer transport survived ped. The plugin will automatically summon an ambulance unit to transport the survived peds.
- Improvement. Avoid to dismiss partner when guarding arrested ped. It is useful when you accidentally dismiss them when you try to open STP menu
- Fixed Bug. Sometimes when a partner is dead, it doesn't free the car seat slot
- Fixed Bug. When firetruck vehicle is broken, the dismissed firemen are still going to enter and trying to drive it

v1.7.8.6
- Improvement. Reduced the arrival speed of all backup units to avoid messing up the scene
- Improvement. Paramedic will prioritize LEO to be taken care first
- Improvement. When parking behind player's car, Police buddy will drive back a bit before leaving the scene to avoid them being stuck
- fireman stuck (not dismissed properly)

v1.7.8.5
- Fixed Bug. When calling K9 Backup during Traffic Stop, LSPDFR crashes

v1.7.8.4
- New Shortcut key and button to call "Panic Button". You may edit "UltimateBackup.ini" to modify. (default: RControlKey + NumPad0)
- New Shortcut key and button to call "Group Backup". You may edit "UltimateBackup.ini" to modify. (default: RControlKey + NumPad1)
- New Parameter. With "ThreatDetectionInterval" parameter, now you can adjust the interval of threat detection process (in milliseconds; default=1000). If you are having a performance hit, you may increase it to 2000 or 3000
- Improvement. Increased a little bit value for police buddy and partner armor, so they don't get killed very easy
- Fixed Bug. Dismissing backup officers also seems to remove dead bodies of backup officers who got killed

v1.7.8.3
- New Feature. Added "rain_outfit" and "snow_outfit" attributes on the "Ped" tag, which will make UB spawns the ped, based on the current weather
  # For more detail and example, please refer to "DefaultRegions.xml" file
- New Feature. Added handgun and long gun selection on spawn and recruit partner
- Improvement. Partner should teleport to player location when they're too far away
- Improvement. When go off duty, all partners will be dismissed
- Improvement. Now you can ask partner to hold position (face2face and press T), so they won't follow when you enter the vehicle
- Improvement. Force Police Buddy vehicle lights to always on when arrived on scene. This is useful when you're using ELS vehicles with UB parameter "IsCode2SirenLightsOn=no" to make silent arrival

v1.7.8.2
- Improvement. When spawning partner, now the props (e.g. hats, eyeglasses) will also be copied and applied to the partner

v1.7.8.1
- Fixed Bug. Sometimes Partner take a vehicle seat on the wrong position
- Fixed Bug. Found the culprit in the source code which sometimes might cause glitches (e.g. ped is freezing)

v1.7.8.0
- New Feature. Now there are 3 ways to get partner:
  # "Convert" Ultimate Backup Police Buddy as your partner, stand in front of them and press "Enter"
  # "Spawn" a partner who will wear player's outfits and weapons. You can do this by using Ultimate Backup Menu
  # "Recruit" nearest ped (ambient cop or civilian) as your partner by standing next to them. You can do this by using Ultimate Backup Menu
  (Please read the "POLICE PARTNER" section in the readme file for more detailed information)
- Improvement. Increased pursuit backup driver skill (experimental)
- Improvement. Make the immediate spawn (Hold Backspace) location a bit farther, so it won't mess up the scene
- Fixed Bug. Sometimes Police Buddy cannot guard the ped, which makes STP menu won't update with Police Buddy assistance options
- Fixed Bug. No more weird thing happens when we aim our weapon to police buddy (e.g. the buddy makes circle movement)
- Fixed Bug. The partner car seat position is incorrectly assigned when you dismissed a partner and recruit new ones

v1.7.7.0
- Improvement. You may still stop the survived EMS ped/patient before they enter the ambulance. This is useful when the patient is actually a suspect that needs to be arrested.
- Improvement. Your buddy will also aim their weapon when you are aiming your weapon to any peds
- Improvement. Now when the K9 got a hit after observing the car, it would take a sit down pose
- Improvement. The backup vehicles now will have randomize license plate number instead of default "46EEK572". (only when your car model is using GTA V license plate instead of the plate from texture)
- Fixed Bug. Sometimes the buddy vehicle rear right seat is not available when you try to put the suspect into the car

v1.7.6.0
- Added support for LSPDFR 0.4.6
- Improvement. Tweaked walking path on K9 officer so it's no longer bumped into vehicle
- Fixed Bug. When dismissed, buddy with the hand on the holster anim should walk normally

v1.7.5.0
- Improvement. Tweaked arrest animation on felony stop to be more fluid
- Improvement. Tweaked the buddy walk path after asked to pat down the suspect (e.g The buddy no longer bumps into the suspect)
- Improvement. Tweaked the backup vehicle arrival to be smoother when parking behind player's vehicle
- Fixed Bug. Sometimes the police buddy would not guard the suspect
- Fixed Bug. Sometimes "dismiss all buddies" function don't affect some units (e.g. they are still staying)
- Fixed Bug. When pullover suspect fled and triggered a pursuit, the menu is still showing options for Traffic Stop Backup instead of Pursuit Backup
- Fixed Bug. Sometimes the blip still stays in the map after pursuit, eventhough the buddy has been despawned

v1.7.3.0
- Fixed Bug. Sometimes, Traffic Stop Backup menu doesn't show up during a pull over

v1.7.2.0
- Improvement. Now you can still call "Traffic Stop Backup" even after you asked the driver to leave the vehicle
- Improvement. Tweaked Cop AI driving style to be less aggressive and a bit smarter
- Fixed Bug. When "prop_watches" is defined correctly in the xml file, the watch does not appear on the ped model

v1.7.1.0
- Improvement. Felony stop Police Buddy now should be more reactive with threat during the backup position
- Improvement. Suppress the shortcut key when player is using onscreen keyboard input (e.g. when typing on LSPDFR computer ped name search)
- Improvement. Tweaked the way Police buddy driving when leaving the scene (e.g. will be passing from the left side of our car instead of right)
- Improvement. The CPR pushing chest animation (medics and firemen) now should be correctly positioned. (e.g. will push on patient's chest area instead of stomach)
- Fixed Bug. Sometimes player cannot call traffic stop backup after some false backup state
- Fixed Bug. Sometimes Police buddy right hand from traffic stop backup is still in holster when in gun combat with suspect

v1.7.0.0
- Added supports for LSPDFR 0.4.3 
- Improvement. Prevent police buddy to shoot at the suspect when player performing stop at gunpoint using "Stop The Ped"
- Improvement. Reduce buddy driving aggresiveness when leaving the scene

v1.6.0.0
- Added supports for LSPDFR 0.4.2
- New Feature. Added new "no_firearm" attributes (on "VehicleSet" tag) to make the unit unarmed without any firearms (e.g. British police). This attribute is optional and always "false" if not set
- Improvement. Now you can use Vocal Dispatch on panic button. make sure to check the "UltimateBackup.xml" fire under "VocalDispatch" folder. The default phrase is "shot fired"
- Improvement. Now your police partners will always follow you to get into the car even though they are in guarding position

v1.5.9.5
- New Feature. Tired of being followed by your police buddy? Now you can ask them to hold position or resume following you on your own discretion. 
  * To do that, press "T" key or "DPadLeft" button while standing face-to-face with the Police Buddy
  * This will also be applied the same way for your converted Police Partner

v1.5.9.0
- Improvement. Tweaked the spawn location accuracy for Spike Strips Backup and Road Block Support. But bear in mind that it's not easy to guess where the suspect would go. Make sure to call it when you see a stright road ahead.
- Fixed Bug. When calling Spike Strips backup from the Menu, it sometimes also calls a unit of Pursuit Backup

v1.5.8.0
- Improvement. Police Buddy AI will now be less aggressive. 
  * On the ped holding weapon, previously they would directly shoot at them. Now the AI will wait until the ped is aiming the weapon
  * When the ped is being arrested or already arrested, the AI now will less likely shoot at them
- Fixed Bug. When calling multiple Code 3 backups, sometimes the units don't come
- Fixed Bug. Sometimes the police buddy doesn't follow player's weapon stance (draw or holster)

v1.5.7.0
- Improvement. Added more animation varieties when buddy is in standby or guarding position
- Improvement. Tweaked Pursuit Backup spawn locations
- Improvement. Added more error handling to the codes to avoid unexpected LSPDFR crashes
- Fixed Bug. Sometimes spike strips don't work although the suspect car is already running over it

v1.5.6.0
- Improvement. Added persistency handler to prevent LSPDFR from despawning pursuit backup vehicle after pursuit ended
- Tweaked the back position clearing process on traffic stop backup and code 2 backup to make it compatible with new "Stop The Ped" empty vehicle persistency module
- Tweaked pursuit backup spawn location & make faster air support response faster on pursuit backup

v1.5.5.0
- Improvement. Tweaked code 2 backup vehicle arrival to avoid getting stuck and force respawn if the parking position is blocked by objects
- Fixed Bug. Sometimes police buddy doesn't tend to the dead body. Now it should do it correctly
- Fixed Bug. Sometimes (very rare) The Roadblock units are still despawned when pursuit vehicle is closing to their position
- Fixed Bug. When player is getting into a vehicle, the buddy weapon is drawn. Now it should be holstered
- Fixed Bug. The medic unit sometimes get stuck for so long when it's blocked by wall or object

v1.5.4.0
- Improvement. Tuned drivers AI on backup units to avoid crashing into other vehicles
- Improvement. Tweaked Pursuit Backup spawn locations
- Fixed Bug. When backup unit is recruited to be Police Transport (by StopThePed), the blip is now removed
- Fixed Bug. Fire extinguisher didn't work (no burst of gas) when Firemen tried to extinguish the fire

v1.5.3.0
- New Feature. You may customize the dog textures for your K9 unit by adding "k9_tex_face", "k9_tex_shirt", and "k9_tex_accessories" attributes. Please refer to the attached "DefaultRegions.xml" file for description and examples
  Note: To set different textures on the dog,you should install K9 dog model mods because the vanilla dogs only have single texture
- Added API for developers to access and call backup units provided by Ultimate Backup
- Improvement. The Roadblock Backup now is more effective than before! I added one more layer which should make it harder to penetrate
- Improvement. When the Spike Strips hit the suspect vehicle, the vehicle will be moving slower
- Improvement. Tweaked some game parameter to make Roadblock & Spike Strips Backup do not dismiss too early
- Fixed Bug. Now the backup unit from pursuit backup (called from Ultimate Backup) should be available to support you asPolice Transportwhen you call it through "Stop The Ped"
- Fixed Bug. If the pursuit have more than 1 suspect, now the backup units should spawn close to the nearest suspect

v1.5.2.0
- New Feature. Fully support Coroner and Police Transport model configuration for STP. Check it in DefaultRegions.xml file (Stop The Ped is required to call the unit)
  Note: If you're upgrading, make sure to copy "PoliceTransport" and "Coroner" sections in "DefaultRegions.xml" file
- Improvement. Tuned and tweaked the initial spawn location for Pursuit Backup units
- Improvement. Now Ambulance (EMS) unit will be driving back with siren on when there's a survived patient
- Fixed Bug. Sometimes when player dismisses all the backups, it didn't dismiss all
- Fixed Bug. During Felony Stop, sometimes the game crashes if player does not follow the STP instructions (e.g. aim the ped driver)
- Fixed Rare Crash when medic is performing CPR procedure

v1.5.1.0
- Improvement. During a pull over, your Ultimate Backup "partner" will support you like Traffic Stop Backup unit (e.g. "partner" will go to passenger side and observe the vehicle)
- Fixed Rare Crash when calling Traffic Stop Backup
Note: If you're upgrading, you just need to replace the old "dll" file with the new one.

v1.5.0.0
- New Feature. Now you can convert any "Police Buddy" to become your "Partner". The partner will followand supportyou wherever you go on foot or when driving with vehicle
  To convert a partner, simply call any cop backup units. When the buddy is in standby position, stand face-to-face and press "Enter" key
- New Feature. Now the backup units will follow your weapon stance (draw or holster the weapon)
- Fixed Rare Crash when calling Traffic Stop Backup
- Fixed Glitch. Sometimes the Police Buddy becomes invisible/disappeared after arresting pursuit suspect
- Fixed Glitch. Sometimes Police Buddy drops or submerges into the ground
- Fixed Bug. When you call Air SWAT unit with more than 4 seats helicopter, the last buddy falls to ground instead of rappelling

v1.4.8.0
- Fixed Major Glitch. When Police Buddies are in combat with suspect, the gunfight animation is stuttering (like a hiccup). It should be OK now.
- Fixed Bug. Sometimes Police Buddies or their Vehicles disappear (despawned by LSPDFR). I reduced the disappear frequency. But if LSPDFR wants it gone, then it's gone
- Fixed Bug. Sometimes Roadblock units despawned when suspect vehicle is closing into it.
- Fixed Bug. In Felony Stop only 2 units are coming(when expected more)
- Fixed Bug. There was a conflict on Felony Stop when player want to arrest the main suspect with Vanilla LSPDFR

v1.4.7.0
- New Feature. Ultimate Backup now supports weapon component customization (e.g. weapon flashlight, clips, scope, grip). Please refer to "DefaultRegions.xml" for example
- New Feature. Added "Group Backup" into PoliceSmartRadio button which will allow you to request a group of backup units. You can customize which backup types should be within the group by modifying the parameter .ini file
  Note: If you're upgrading from previous version, you have 2 new parameters in the ini file: "GroupBackupUnits" and "GroupBackupSeverity". You also have 1 new PoliceSmartRadio icon to add
- Fixed Bug. When you use female MP freemode for paramedic or fireman, they have male voice. It's now suppressed because there's no voice set for female medic & fireman

v1.4.6.0
- Improvement. Added random eyebrow & eyecolor to the MP freemode backup cop
- Improvement. Added random facial hair to male MP freemode backup cop
- Improvement. Added random lipstick and makeup to female MP freemode backup cop
- Improvement. Added retry handler when player request backup but the vehicle got deleted by LSPDFR
- New Parameter. The "AllowMenuSelectionOnTrafficStop" will allow menu selection during traffic stop while player is inside vehicle (you have to change LSPDFR keybind)
- Fixed Crash. Sometimes suspect disappears when requesting traffic stop backup which cause LSPDFR to crash

v1.4.5.1
- Fixed Crash. When calling Traffic Stop Backup using Controller and player is inside a police car
  The root cause is because LSPDFR 0.4 uses different keybind mechanism thecancel vehicle button (A) cannot be blocked
  Instead of calling backup, the plugin now will display notification informing that traffic stop is cancelled

v1.4.5.0
- New Feature. Ultimate Backup also supports the multiplayer freemode ped models (MP_M_FREEMODE_01 and MP_F_FREEMODE_01). 
- Fixed Glitch. When calling Female unit backup, there should be no male voice responds to dispatch
- Improved Gameplay. Increase the waiting timeout for backup arrival to be respawn to different location

v1.4.4.2
- Fixed Glitch when Paramedic or fireman tend to dead body to perform CPR, sometimes the ped is running away and rejoin pursuit
- Fixed Glitch when the ped is saved by Paramedic or fireman and they are returning to the ambulance, sometimes the ped is running away and rejoin pursuit

v1.4.4.1
- Improved Felony Stop arresting suspect mechanics. You will need Stop The Ped minimum v4.4.2.0 to make it works
- Improved Menu and Gameplay. The backup type selector (first line) will always be on focus when opening the UB menu, so you can easily switch to another backup type easily
- Fixed Bug. The Felony Stop police buddies don't aim weapon after arrived at the scene

v1.4.4.0
- Added support for LSPDFR 0.4
- New feature. Allow a unit to not have handgun during Code 2 call. You can set the new attribute 'no_handgun="true"' on the "VehicleSet" tag
- Fixed Bug. Sometimes the roadblock disappears when suspect vehicle is moving close to the roadblock

v1.4.1.0
- Added parameter in the .ini file whether medic or fireman gives medkit if player is injured
- Fixed Bug. Sometimes after the dead ped is treated by medic, the Coroner Unit from "Stop The Ped" can not detect them

v1.4.0.0
- New Unit. Air Ambulance (helicopter) is now available to serve you. 
  *If you are upgrading from previous version, copy paste "Air Ambulance" Unit from "SpecialUnits.xml" file
- New Unit. Air SWAT Backup (helicopter) is now available to serve you. 
  *If you are upgrading from previous version, copy paste "Air SWAT Backup" Unit from "SpecialUnits.xml" file
- New Feature. During car pursuit, you can request "Roadblock Support", which will try to block the road with police vehicles. You can also request it using PoliceSmartRadio 
  *if you're upgrading, don't forget to copy the roadblock icons to PSR folders)
- Improved Gameplay. Ambulance and Firetruck will now return to hospital or firestation instead of going nowhere
- Fixed Bug. When medic is coming and player is injured but not on foot (inside a vehicle), medic was getting killed. Now the medic will wait until player get out of the car to give the medkit.

v1.3.3.1
- Improvement. Some tweaks on pursuit backup spawn mechanic
- Fixed Bug. Sometimes LSPDFR crashes when requesting Spike Strips Backup

v1.3.3.0
- New Feature. Now you can assign a specific role to "Special Unit" backups. Available roles are "cop", "medic", and "fireman". You can refer to "SpecialUnits.xml" file for examples (First Responders)
- New Feature. Paramedic (Ambulance) & fireman might give firstaid kit for player to heal 
- New Feature. Added ped voice overs (speeches) to paramedics and firemen while they are in action
- New Feature. After being dismissed, ambulance or fire truck unit will give you the "Patient Report" and statistic of their life-saving's attempts
- New Feature. Added parameter to set the number of backup unit during felony stop in the .ini file. (parameter name is "FelonyBackupNum")
- New Feature. Now you can assign weapons from DLC (e.g. MK2 weapons) to your backup units. Please refer to "Weapons reference.txt" for the list of all possible weapons
- Improvement. Added throttling during pursuit backup request to add delay between backups and prevent possible crashes
- Improvement. Now the backup unit can detect threat from peds armed with DLC weapons (e.g. MK2 weapons)
- Improvement. Make arrival of all unit less chaotic, especially in a crowded location (mostly in the city area)
- Improvement. Tweak the holding duration for dismissing all backups. It's slightly shorter now
- Fixed Bug. When treating victim in the car, there's sometimes a weird animation or reaction (e.g. medic is thrown up to the sky)
- Fixed Bug. Sometimes the backup passengers don't return to the vehicle after they're dismissed
- Fixed Bug. Sometimes the backup leader just leaves passengers after being dismissed

v1.3.2.1
- Fixed an XML entry mistake in "DefaultRegions.xml" file

v1.3.2.0
- New Feature. You may choose the dog model name for k9 backup unit. Set the "k9_model" attibute within "VehicleSet". It is only valid for "K9LocalPatrol" and "K9StatePatrol" xml sections
  Available dog models are: "CHOP", "HUSKY", "SHEPHERD", "ROTTWEILER", "RETRIEVER". Please refer to "DefaultRegions.xml" if you want to use this new attribute.
- New Feature. Added PoliceSmartRadio buttons for Ambulance & Fire Department backups (If you're upgrading, make sure to copy those 2 new button icons into PSR folder)
- Improved K9 AI to react when suspect attack cops or player
- Major Performance tuning by tweaking some RPH API
- Fixed Bug. Sometimes setting vehicle extras (extra_1, extra_2, etc) did not work. It should be working fine now
- Fixed Bug. Sometimes when requesting pursuit backup too soon, LSPDFR crashed
- Fixed Bug. Applied some potential tweaks to fix intermittent crash when calling backup

v1.3.1.0
- New Feature. Added dismiss all key parameter in the .ini file ("DismissAllBackupKey")
- New Feature. If a backup vehicle model has multiple liveries, it will be randomized by default
- New Feature. Now a firetruck has 4 firemen. Previously it only had 2 (remember that FireTruck & Ambulance crew number is not affected by "pax" attribute in the xml file)
- Improved the holding key detection, so it won't be accidentally triggered when user just presses it
- Improved fireman AI to stop the fire. They will spread to different fire points instead of working at the same location
- Fixed Bug. Ambulance paramedic and firemen always put the saved ped into the right passenger seat.
- Fixed Bug. Now the CPR procedure by paramedics & firemen will be applied to human only

v1.3.0.0
- New Feature. Implement built-in Ambulance unit and AI. You may customize the unit in the xml file under "Ambulance" backup type tag. (See "DefaultRegion.xml" for reference)
  Ambulance unit will tend to the bodies and try to perform CPR
- New Feature. Implement built-in Fire Department (Fire Truck) unit and AI. You may customize the unit in the xml file under "FireTruck" backup type tag. (See "DefaultRegion.xml" for reference)
  Fire Department will find any fire sources and try to stop them. They can also tend to the bodies and perform CPR
- New Feature. Added own "Panic Button" for PoliceSmartRadio, where you can customize the units being dispatched in the .ini file (parameter name: "PanicButtonUnits")
- New Feature. Added key to dismiss all backup units at once. You can do that by HOLDING "ENTER" key
- New Feature. The Code 3 backup buddies (passengers) will be spreading out. Only the team leader is following the player
- New Feature. The Pursuit Backup will stay with the player after the pursuit finished (except air unit)
- Fixed Bug. Sometimes, multiple buddies will have racing condition (back and forth) when trying to "guard" a suspect
- Fixed Bug. The vehicle is no longer disappeared when the team leader is dead. The next available member will try to drive it during dismissal
- Fixed Bug. Sometimes, when user already have "prop_hats" set to "0" (means no hat), the ped is still wearing it
- Fixed Bug. Unable to request backup in "San Andreas" area (near Vespucci Beach) because the units always despawned

v1.2.4.0
- Fixed glitch during felony stop when the police buddy draws the wrong non-lethal weapon 

v1.2.3.0
- Added new "random_props" attribute (True or False) in "Ped" node which will randomize all props (hats, glasses, earpieces, and watches) for the backup ped
- Fixed bug. Sometimes LSPDFR crashes during menu navigation when you have too many "Special Units"
- Major Performance tweak which should minimize lags and FPS drops when calling multiple units

v1.2.2.0
- Fixed bug. When using controller and perform traffic stop, sometimes LSPDFR crash or pulled over subject got dissapeared after player select an option (press A) from the menu
- Fixed rare issue. Sometimes traffic stop menu is always displayed when opening the menu, even though there's no traffic stop session in progress

v1.2.1.0
- Improved interaction. If a unit consists of several cops (e.g. SWAT), you can just dismiss the group leader or driver (with the biggest blue blip) to dismiss them all
- Fixed Issue when it could not assign 7 passengers into a large police vehicles (e.g. RIOT)
- Added missing "Ambulance" & "Fire Truck" options into the menu. It will call the units from LSPDFR vanilla backup
- Fixed Bug. Sometimes the helicopter for pursuit backup is spawned in the middle of the road

v1.2.0.0
- New Feature. Added new spawn_distance attribute into "VehicleSet" which will override the default spawn distance (please see examples in the xml files)
- New Feature. Added new "Special units" xml customization which allow you to add your own unit into the menu. 
  For your reference, I put 2 examples in "SpecialUnits.xml" file (Police Bike and Supervisor)

v1.1.0.0
- New Feature. Now you can define the weapon customization in the xml file by 3 groups (non-lethal, handguns, and long-guns). Read the XML file for more detail.
- Fixed issue. Sometimes the police buddy cannot detect the threat if it is too far away
- Fixed bug. Sometimes a unit with police passengers cannot assign the car driver after dismissal because the leader is dead

v1.0.0.0
- Initial release
