All Products / Scripts (Free) / Disable Pistol Whip aka "Stop With The F***ing Pistol Whipping"

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. NEW

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 NEW

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

Latest Reviews

No reviews yet. Be the first to write one!

Disable Pistol Whip aka "Stop With The F***ing Pistol Whipping" v1.0.2

JM Modifications

JM Modifications

Stop with the Damn Accidental Pistol Whipping

Free

93
Views
6
Downloads
N/A
Avg Rating
Mar 08, 2026
Release Date
Mar 08, 2026
Last Update Date
SantosMods.dev

SantosMods.dev

GTA V & FiveM modifications built for consistent behavior and long term use.

© SantosMods.dev 2026