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 toDisablePistolWhip.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
AI disclosure
The author has disclosed that AI tools were used in creating the following aspects of this file:
- Description
- Images
Recommended Comments
Create an account or sign in to comment