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.

Disable Pistol Whip aka "Stop With The F***ing Pistol Whipping" 1.0.3.1

(0 reviews)

18 Screenshots

Disable Pistol Whip is a lightweight plugin for Rage-based scripting environments that disables pistol-whip melee controls while the player is holding a pistol. It is intended for users who prefer to prevent accidental melee attacks when firing pistols.

Urgent Update Info - February 24, 2026

If you are upgrading from v1.0.1.1 to v1.0.2.0, you need to delete the old ini. Delete the old ini, launch the plugin again for the new ini to generate.

Key features

  • Disable light/heavy/alternate melee controls when a pistol is equipped

  • Toggle at runtime via a console command or configurable keyboard key

  • Add weapons using a command without having to edit the config.

Requirements

  • RagePluginHook

Installation

Drag and Drop "plugins" folder into main gta directory

Usage

  • By default the plugin is enabled. When a pistol is equipped the plugin disables melee attack controls so the player cannot pistol-whip while holding a pistol.

  • Console commands (type in the in-game console):

    • dpw — Toggle the plugin on or off (state is persisted to DisablePistolWhip.ini).

    • dpw_setkey <KeyName> — Change the keyboard toggle key (e.g. dpw_setkey F8). The key is stored as a string and validated at runtime if possible.

    • dpw_notify <true|false> — Enable or disable in-game notifications.

    • dpw_addweapon <weapon_name> --- Add a weapon to save to the config.

Source code If you want to fix something or add something to the plugin: https://github.com/jonjongames1997/DisablePistolWhipRPH

Note: You can toggle the mod on/off without having to load/unload the plugin each time.

You can test out future versions of this plugin and other mods by becoming a free member on my patreon: https://www.patreon.com/c/jonjongamesofficial

Showcase Demo of the Plugin:


Edited by JM Modifications
Updated description

What's New in Version 1.0.3.1

Released

Added:

- 15 more humorous messages to make it a total of 30 random humorous messages

Changed:

N/A

Improved:

N/A

Techincal Notes:

N/A

For Support and Updates

This will be the last update for a while. I want to focus on my other mods to get them updated.

If you have any issues with this update,

PLEASE REPORT THEM TO MY DISCORD!


Short Description

Stop with the Damn Accidental Pistol Whipping

AI disclosure

The author has disclosed that AI tools were used in creating the following aspects of this file:

  • Description
  • Images

User Feedback

Recommended Comments

Haze Studios

Members

Just wondering why use Marcel's INI over Rage's INI?

JM Modifications

Members Author

6 hours ago, Haze Studios said:

Just wondering why use Marcel's INI over Rage's INI?

I have no idea. I'm struggling with it probably. I will look at RAGE's documentation and see what I can do.

4 hours ago, nova2727 said:

Has potential. Would like all guns to be included and tazer

That's in a new update planned as I mentioned in the demo showcase.

Haze Studios

Members

Creating a INI file with Rage is insanely easy.
- Create the INI file.

var _ini = new InitializationFile(filepath)
var boolPsudo = _ini.ReadBool(Section, Name, DefaultValue).

It's that straight forward 🙂

14 hours ago, JM Modifications said:

I have no idea. I'm struggling with it probably. I will look at RAGE's documentation and see what I can do.

That's in a new update planned as I mentioned in the demo showcase.

Also, from looking at your src, you have some stuff that is called on Tick, that really shouldn't be.

And why not use System.Windows.Forms? I don't think I have ever seen a system not include it. You're making yourself do more work than needed.

JM Modifications

Members Author

1 hour ago, Haze Studios said:

Creating a INI file with Rage is insanely easy.
- Create the INI file.

var _ini = new InitializationFile(filepath)
var boolPsudo = _ini.ReadBool(Section, Name, DefaultValue).

It's that straight forward 🙂

Also, from looking at your src, you have some stuff that is called on Tick, that really shouldn't be.

And why not use System.Windows.Forms? I don't think I have ever seen a system not include it. You're making yourself do more work than needed.

bet

JM Modifications

Members Author

7 hours ago, criltxl said:

This is just awesome, well done! 🔥

Appreciate you 😊

Reddington

Members

This is something we could've used years ago. Sad it took so long for someone to do it.

JM Modifications

Members Author

9 hours ago, Reddington said:

This is something we could've used years ago. Sad it took so long for someone to do it.

Yeah. This idea came up when the accidental pistol whip mechanic was started to be annoying but I was happy to pull this one off. ;)

CMendez

Members

Make one for FiveM plzzzzzz 😭

JM Modifications

Members Author

1 hour ago, CMendez said:

Make one for FiveM plzzzzzz 😭

I'm currently working on a FiveM version. 😉

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.