π 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
- Download and place the script in your
resources/folder. - Add it to
server.cfg:ensure weaponwhip - Configure
config.lua:- Framework:
ESX,QBCore, orStandalone - Notification System:
okokNotify,vms_notifyv2,ESX,QBCore,default - List of firearms with melee attack capabilities
- Framework:
- 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. π