Weaponsbeginner10 min readupdated 11 Sept 2026

Melee weapons and fist fights in FiveM

The short answer

GTA V has 18 melee weapons (knife, bat, crowbar, machete, knuckles and more), plus fists (WEAPON_UNARMED). Reduce melee damage with SetPlayerMeleeWeaponDamageModifier(PlayerId(), 0.5) or per weapon with SetWeaponDamageModifier. Stop pistol-whipping by disabling the melee attack controls (140, 141, 142) while a firearm is drawn.

Melee is where roleplay gets messy: vanilla GTA punches are brutal, a pistol-whip ends a standoff before anyone speaks, and a bat is lethal in two swings. A few client settings turn melee into something that supports scenes instead of ending them.

Melee weapons and fist fights in FiveM — illustrated with a FiveM-compatible minimap render

#The melee weapons

WeaponName
KnifeWEAPON_KNIFE
NightstickWEAPON_NIGHTSTICK
HammerWEAPON_HAMMER
Baseball BatWEAPON_BAT
CrowbarWEAPON_CROWBAR
Golf ClubWEAPON_GOLFCLUB
BottleWEAPON_BOTTLE
DaggerWEAPON_DAGGER
HatchetWEAPON_HATCHET
Knuckle DusterWEAPON_KNUCKLE
MacheteWEAPON_MACHETE
FlashlightWEAPON_FLASHLIGHT
SwitchbladeWEAPON_SWITCHBLADE
Pool CueWEAPON_POOLCUE
WrenchWEAPON_WRENCH
Battle AxeWEAPON_BATTLEAXE
Stone HatchetWEAPON_STONE_HATCHET
Candy CaneWEAPON_CANDYCANE

Hashes for all of them are in the weapon names and hashes list.

#Reducing melee and punch damage

client.lua
CreateThread(function()
    SetPlayerMeleeWeaponDamageModifier(PlayerId(), 0.5) -- all melee at 50%
    SetWeaponDamageModifier(`WEAPON_UNARMED`, 0.3)      -- fists weaker still
    SetWeaponDamageModifier(`WEAPON_BAT`, 0.6)
end)

Fist fights in particular benefit from low damage: a fight that ends in two punches has no scene in it. See damage modifiers for how the two modifiers interact.

#Stopping pistol-whipping

client.lua
CreateThread(function()
    while true do
        local ped = PlayerPedId()
        if IsPedArmed(ped, 4) then -- 4 = firearms (1 = melee, 2 = explosives)
            DisableControlAction(0, 140, true) -- melee attack light
            DisableControlAction(0, 141, true) -- melee attack heavy
            DisableControlAction(0, 142, true) -- melee attack alternate
            Wait(0)
        else
            Wait(250)
        end
    end
end)

The loop only runs every frame while a firearm is drawn. IsPedArmed with flag 4 checks for firearms only, leaving knives and bats usable.

#Melee in roleplay

  • Knives and bats as inventory items with weight, so carrying them is a choice.
  • Lower melee damage so fights create injuries rather than deaths.
  • Police batons (WEAPON_NIGHTSTICK) and flashlights double as tools.
  • Consider melee in your server rules — e.g. no random punching.
Share this guideXRedditFacebook

Questions

How do I reduce punch damage in FiveM?
Set SetWeaponDamageModifier(`WEAPON_UNARMED`, 0.3) or scale all melee with SetPlayerMeleeWeaponDamageModifier(PlayerId(), 0.5) on the client.
How do I disable pistol whipping?
While a firearm is drawn, disable controls 140, 141 and 142 every frame.
What is the weapon name for fists?
WEAPON_UNARMED.
How many melee weapons are in GTA V?
18 melee weapons, plus fists.

Ready to pick a map?

Twelve themes on three base map styles, $8 each, instant download.

Relevant to what you just read