Knife
WEAPON_GARBAGEBAG
Knife is a melee weapon in GTA V. In FiveM scripts it is WEAPON_GARBAGEBAG, hash 3794977420.
- Display name
- Knife
- Group
- Melee
- Damage per hit
- 0
- Magazine
- 0
- Range
- 1.6 m
- Damage type
- Melee
- Hash
- 3794977420
- Signed hash
- -499989876
- Hex
- 0xE232C28C
Give it in a FiveM script
FiveM's Lua turns a name in backticks into its hash when the script loads, so `weapon_garbagebag` and 3794977420 are the same value.
lua
-- give the Knife with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_garbagebag`, 250, false, true)
-- server side (OneSync), for player id src
GiveWeaponToPed(GetPlayerPed(src), `weapon_garbagebag`, 250, false, true)More melee weapons
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.











