Parity

Crowbar

WEAPON_CROWBAR

Crowbar is a melee weapon in GTA V. In FiveM scripts it is WEAPON_CROWBAR, hash 2227010557.

Display name
Crowbar
Group
Melee
Damage per hit
0
Magazine
0
Range
1.6 m
Damage type
Melee
Hash
2227010557
Signed hash
-2067956739
Hex
0x84BD7BFD
Crowbar (WEAPON_CROWBAR) in GTA V

Give it in a FiveM script

FiveM's Lua turns a name in backticks into its hash when the script loads, so `weapon_crowbar` and 2227010557 are the same value.

lua
-- give the Crowbar with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_crowbar`, 250, false, true)

-- server side (OneSync), for player id src
GiveWeaponToPed(GetPlayerPed(src), `weapon_crowbar`, 250, false, true)

The data comes from GTA V's own game files. Parity, the FiveM anticheat, shows these names instead of raw hashes in your server logs. Browse all GTA V weapons.