Pistol Whipping Script

Pistol Whipping Script

€5.00

Add to Basket

πŸ“œ Script Description: Weapon Whip Blocker

Author: LUBLALA
Version: 1.4
Compatibility: FiveM (ESX / QBCore / Standalone)


πŸ”Ή About the Script

This FiveM script allows you to disable or enable melee attacks with firearm weapons (weapon whipping) using a command. It supports multiple notification systems and multiple languages for easy customization.

βœ… Prevents players from performing melee attacks with firearms (R key on keyboard, Q on controller).
βœ… Does not affect shooting – firearms still function normally.
βœ… Supports multiple frameworks (ESX, QBCore, Standalone).
βœ… Toggle via /pazba (can be changed in config.lua).
βœ… Configurable weapon list (in config.lua).
βœ… Multi-language support (locales.lua).


πŸ”§ Installation

  1. Download and place the script in your resources/ folder.
  2. Add it to server.cfg:
    ensure weaponwhip
    
  3. Configure config.lua:
    • Framework: ESX, QBCore, or Standalone
    • Notification System: okokNotify, vms_notifyv2, ESX, QBCore, default
    • List of firearms with melee attack capabilities
  4. Select language in locales.lua (cz, en, or add your own language).

πŸ› οΈ Usage

  • Command /pazba:

    • First use: Disables firearm melee attacks.
    • Second use: Enables firearm melee attacks.
  • Players receive notifications about the status (enabled/disabled).


πŸ“Œ Supported Frameworks and Notifications

βœ… Frameworks: ESX, QBCore, Standalone
βœ… Notifications: okokNotify, vms_notifyv2, ESX, QBCore, default GTA notifications


πŸ’‘ This script is perfect for servers that want to disable firearm melee attacks while keeping shooting mechanics intact. πŸš€