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.

DisarmThePedLSPDFR Script for GTA V 1.0

(5 reviews)

1 Screenshot

🎮 DisarmThePedLSPDFR Mod for GTA V

 

📝 Description

After a long time, effort, and dedication, the first version of the DisarmThePed plugin for Grand Theft Auto V Fully LSPDFR Compatible is finally here!
This mod, directly inspired by the “DropTheWeapon Mod” from Fenix2525WOT, allows players to disarm Peds in the game and make them surrender.
This Plugin has been developed with LSPDFR usage in mind, so YOU CAN’T DISARM emergency service members, such as cops, firefighters, SWAT, army, etc.

The Script No Longer Depends on ScriptHookVDotNet.

 

🌟 Features

DisarmThePedLSPDFR.Ini File for Script Configuration: Keyboard and Controller Activation, Disarm Chances, Resist Chances...

 

Disarm by Keyboard (E) or Controller(DPadRight) Input (Configurable in .ini): The player can Disarm any Ped in the game Aiming at Ped and using Keyboard or Controller.-

 

Disarm Peds by Shooting on Arms: The player can Disarm any Ped in the game if Shoot the Ped on Arms or Some Upper Body Parts.

 

Different Ped Responses: After ordering a suspect to drop the weapon, they can react in two ways:

  • Dropping the weapon and surrendering
  • Attacking the player.
  • Flee starting a pursuit.

After Disarm A Suspect by Shooting Him, There are many Reactions for him:

   - Depending on Situation, Will Surrender, Flee or Attack to You.

 

    (Plugin Configurable in DisarmThePedLSPDFR.ini)

  Keyboard Key and Controller Button: By Default: Keyboard (E) or Controller(DPadRight).

 

  BaseChance: This is the base probability of disarming the character when the disarm key is pressed. By default, it is set to 60.

 

  PedLessHealthChance: Indicates how much the disarm probability increases when the health of the targeted character is less than that of the player.

 

  PedMeleeArmed: How much the disarm probability decreases if the targeted character is armed with a melee weapon.

  PedPistolArmed: How much the disarm probability decreases if the targeted character is armed with a pistol.

  PedHeavyArmed: How much the disarm probability decreases if the targeted character is armed with a rifle, sniper, or shotgun.

 

  CopsInRadiusChances: How much the disarm probabilities increase if there are more cops in the radius.

  NoCopsInRadiusChances: How much the disarm probabilities decrease if there are fewer cops in the radius.

 

  SurrenderProbability: Probabilities of Targeted Character Surrendering After Being Shot in Hand.

  FleeProbability: Probabilities of Targeted Character Fleeing After Being Shot in Hand.

  AttackProbability: Probabilities of Targeted Character Attacking You After Being Shot in Hand.

 

  EnableNotifications: Enable/Disable Notifications.

  EnableVoice:  Enable/Disable Yell audio when attempting to disarm the suspect.

 

🔮 Future Features

This section will be updated with planned features for future versions of the mod.

  • Enhanced suspect reactions: Improve the interaction between the mod and the game's ragdoll mechanics to provide smoother and more natural reactions for suspects. This includes refining their behaviors after being disarmed to eliminate abrupt transitions and enhance realism.
  • Expanded Voice Variety: Currently, the plugin uses a limited selection of voice lines, mainly from the sheriff voice pack. Future updates will introduce a greater variety of male and female voices to enhance realism and immersion.

 

🔧 Installation

  1. Download the latest release of DisarmThePedLSPDFR from this repository.
  2. Paste the files into your main GTA V folder.
  3. If you were using a previous version of this mod (which depended on ScriptHookVDotNet), delete the following files from the Scripts folder in your GTA V directory:
    • DisarmThePed.dll
    • DisarmThePed.ini

Note: This version has been reworked as an LSPDFR Plugin and no longer requires ScriptHookVDotNet.

 

🐞 Knowns Bugs / Limitations

Weapon respawn on ped inventory, so they keep Shooting - Some Peds (Like Strip Club Security Guards) Are Hardcoded, so will Spawn a New Weapon After Being Disarmed.

(This behavior is related to how certain NPCs are programmed in GTA V and should not affect the overall experience with LSPDFR.)

 

📢 Suggestions / Bug Report

¡BUG REPORTS AND SUGGESTIONS FOR MOD IMPROVEMENTS ARE WELCOME!

 

📜 License

Please do not reupload this mod without permission.

 

Edited by JuanjitoDev
 Future Feature Added

What's New in Version 1.0

Released

DisarmThePedLSPDFR 1.0 is a complete overhaul of the code and the approach to the script.

No Longer Depends on ScriptHookVDotNet

The base structure of the script's functionality has been rebuilt, ensuring greater stability, better performance, and increased scalability for future updates.

  • The general functionality of the script has been fixed.
  • New mechanics have been added for the logic of deciding whether the suspect should be disarmed or not.
  • Different reactions have been added depending on various factors.
  • Logic functionalities for disarming the suspect when shot in certain parts of the body have been added and improved.
  • Many Mayor and Minor Bug Fixes.

Future Updates:

Minor Bug Fixes are Planned.


Short Description

Take control of every encounter! Disarm suspects dynamically with realistic mechanics, making every arrest a tactical challenge.

User Feedback

Recommended Comments

JuanjitoDev

Members Author

(edited)

Hi Everybody. 
Now The Files Are The correct DisarmThePed.dll

So You should be able to disarm any ped by shooting them.
Cops Still cant be disarmed by Pressing E, and this Feature is not planned due the LSPDFR intended usage.

Controller Support is now broken and I will need some time for fix it.

Future Updates and Fixes Will be Coming Soon. (If I have Enough Time)
Suggestions and Bugs Reports are Welcome on Comments Section.

Edited by Juanjitorl20

David C

Members

On 4/28/2024 at 4:32 PM, JuanjitoDevelop said:

Hi Everybody. 
Now The Files Are The correct DisarmThePed.dll

So You should be able to disarm any ped by shooting them.
Cops Still cant be disarmed by Pressing E, and this Feature is not planned due the LSPDFR intended usage.

Controller Support is now broken and I will need some time for fix it.

Future Updates and Fixes Will be Coming Soon. (If I have Enough Time)
Suggestions and Bugs Reports are Welcome on Comments Section.

Will you ever make an .ini file

JuanjitoDev

Members Author

4 hours ago, David C said:

Will you ever make an .ini file

Yes Sir.
That´s a future planned feature for this Script.

ty637

Members

(edited)

Im getting a ScripthookV error with this mod could you help me?

Could contain: text, vehicle, land vehicle, outdoor, wheel, road, screenshot, car, ground

Edited by ty637

Does the plugin not work? Also, I suggest attaching the RPH log. I can not help, but someone else may be able to if you do those things.

4 hours ago, ty637 said:

Im getting a ScripthookV error with this mod could you help me?

Could contain: text, vehicle, land vehicle, outdoor, wheel, road, screenshot, car, ground

Spoiler

 

 

JuanjitoDev

Members Author

7 hours ago, ty637 said:

Im getting a ScripthookV error with this mod could you help me?

Could contain: text, vehicle, land vehicle, outdoor, wheel, road, screenshot, car, ground

Hi there,

I'm sorry to hear you're having trouble with the script in your game.
Let's try to get this sorted out as soon as possible.
I need you to do me a favor:
Make sure all dependencies are installed correctly and are updated to the latest versions. You can download them from the links provided in the script description. Also, make sure to include the ScriptHookVDotNet3.dll file.

I'd appreciate it if you could follow these steps:

Let me know if you've made any modifications to the DisarmThePed.ini file.

Temporarily remove any other scripts from your "scripts" folder that aren't DisarmThePed to see if there are conflicts with other mods.

Try reproducing the error after following these steps.

Finally, please send me the ScriptHookVDotNet.log and ScriptHookV.log files generated in the main directory of your game after the error occurs.
This will help me better understand the issue and address it in the best way.

Thank you!

ty637

Members

(edited)

I have removed all my scripts but I am still getting the error? I also do have SHV and SHVDN3 installedCould contain: text, outdoor, land vehicle, vehicle, ground, car, wheel, tree I

Could contain: text, screenshot, software, multimedia software, graphics software, editing, computer icon, computer, display, multimedia, operating system, electronics

Edited by ty637

BlueLine Vibes

Members

20 hours ago, ty637 said:

here is my SHV log

Could contain: text, screenshot, software, multimedia software, graphics software, editing, computer icon, computer, operating system, multimedia



Do you have ScriptHookVDotNet   nightly version?  Or the Community version?   I am using the nightly version and it works fine.

ty637

Members

8 minutes ago, BlueLine Vibes said:



Do you have ScriptHookVDotNet   nightly version?  Or the Community version?   I am using the nightly version and it works fine.

I have Community SHVDN

ty637

Members

(edited)

2 minutes ago, BlueLine Vibes said:



That would be the reason why.  Download the nightly version

is anything different? 

Edited by ty637

BlueLine Vibes

Members

1 minute ago, ty637 said:

is it any different? 



Yep,  less crashes 😉    Look above the download here,  LSPDFR admin put info about the nightly version and the link for you.

ty637

Members

2 minutes ago, BlueLine Vibes said:



Yep,  less crashes 😉    Look above the download here,  LSPDFR admin put info about the nightly version and the link for you.

I have never experienced a crash with the community SHVDN

BlueLine Vibes

Members

1 minute ago, ty637 said:

I have never experienced a crash with the community SHVDN



Glad to hear it.  Then don't use the nightly version then.

ty637

Members

the nightly version CTD for me

Just now, BlueLine Vibes said:



Glad to hear it.  Then don't use the nightly version then.

so i cant use this mod it seemed cool:(

5 minutes ago, BlueLine Vibes said:



Glad to hear it.  Then don't use the nightly version then.

sorry for so many comments but im confused it says this mod depends on community scripthookvdotnet

JuanjitoDev

Members Author

On 5/8/2024 at 11:17 PM, ty637 said:

I have removed all my scripts but I am still getting the error? I also do have SHV and SHVDN3 installedCould contain: text, outdoor, land vehicle, vehicle, ground, car, wheel, tree I

Could contain: text, screenshot, software, multimedia software, graphics software, editing, computer icon, computer, display, multimedia, operating system, electronics

Based on the error message you provided, it appears that the issue is related to the Notification.PostTicker() function used in the script to display in-game notifications, such as "DisarmThePed has been Loaded!". It's worth noting that this function replaces Notification.Show() in newer versions of the game.

If your Grand Theft Auto V version isn't up-to-date, it's possible that it still uses the Notification.Show() method, which causes the error as it can't find the method used by my script.
Please make sure that you have the game updated to the latest available version.

The script has been developed using the Community version of ScriptHookVDotNet3, but it's also compatible with the nightly version, and you shouldn't notice any difference in functionality.

To help us better understand the problem, could you provide more details about when exactly the error occurs?
Does it happen when loading the script, when attempting to disarm the ped, or after disarming it?
Additionally, could you please provide the full version of your GTA V game?

JakeKindaSus

Members

currently fucking around in gta and i noticed that when it says ped disarm one of the cops would fly out of the vehicle or exit as a standstill

ty637

Members

(edited)

On 5/10/2024 at 6:22 PM, JuanjitoDevelop said:

Based on the error message you provided, it appears that the issue is related to the Notification.PostTicker() function used in the script to display in-game notifications, such as "DisarmThePed has been Loaded!". It's worth noting that this function replaces Notification.Show() in newer versions of the game.

If your Grand Theft Auto V version isn't up-to-date, it's possible that it still uses the Notification.Show() method, which causes the error as it can't find the method used by my script.
Please make sure that you have the game updated to the latest available version.

The script has been developed using the Community version of ScriptHookVDotNet3, but it's also compatible with the nightly version, and you shouldn't notice any difference in functionality.

To help us better understand the problem, could you provide more details about when exactly the error occurs?
Does it happen when loading the script, when attempting to disarm the ped, or after disarming it?
Additionally, could you please provide the full version of your GTA V game?

as soon as i load into the game the script fails i have the latest version of SHVDN and GTA5 but it just dosent work maybe you could give me a version without the message and i will see if it works?

Edited by ty637

ty637

Members

On 5/10/2024 at 6:22 PM, JuanjitoDevelop said:

Based on the error message you provided, it appears that the issue is related to the Notification.PostTicker() function used in the script to display in-game notifications, such as "DisarmThePed has been Loaded!". It's worth noting that this function replaces Notification.Show() in newer versions of the game.

If your Grand Theft Auto V version isn't up-to-date, it's possible that it still uses the Notification.Show() method, which causes the error as it can't find the method used by my script.
Please make sure that you have the game updated to the latest available version.

The script has been developed using the Community version of ScriptHookVDotNet3, but it's also compatible with the nightly version, and you shouldn't notice any difference in functionality.

To help us better understand the problem, could you provide more details about when exactly the error occurs?
Does it happen when loading the script, when attempting to disarm the ped, or after disarming it?
Additionally, could you please provide the full version of your GTA V game?

i will delete and reinstall the game and see if that works

ty637

Members

3 hours ago, ty637 said:

i will delete and reinstall the game and see if that works

it did not work

JuanjitoDev

Members Author

Dear community,

I want to take a moment to share some news about the current state and future plans for DisarmThePed Script.
First and foremost, I want to thank each and every one of you for your support and patience.
 

I am currently working on an update that will address various reported bugs and improve the overall functionality of the mod.
However, this update is proving to be quite a challenge as it involves significant code restructuring and transforming the logic of some key functions.

I want to ensure that this update is as solid as possible, so I am investing time in the development and testing process.
My goal is to release a Final Version that provides an even more enjoyable gameplay experience.

For the moment, future Updates Will be coming for Bug Fixes and Eventually When EveryThing work fine, new functionalities will be added to the mod.
 

I appreciate your understanding and patience as I work on this update. I am committed to providing you with the best possible experience with this script, and I believe next update will be a significant step in that direction.
 

Please stay tuned for future updates and announcements regarding the progress of my work.
Thank you for being part of this community and for your ongoing support!

(edited)

Changing my keybinds and adjusting disarm values does not work.

Edited by Flagrantly Obtuse

JuanjitoDev

Members Author

15 hours ago, Flagrantly Obtuse said:

Changing my keybinds and adjusting disarm values does not work.

2.0 Update has been just released. Try it Now. 
I Hope it cover al expectations.
Cheers!

1 hour ago, JuanjitoDevelop said:

2.0 Update has been just released. Try it Now. 
I Hope it cover al expectations.
Cheers!

Changing keybinds works now! Thank you for such an incredible 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.