FiveM Weapon Hash List

All GTA V weapon hashes for FiveM. Use with GiveWeaponToPed(ped, hash, ammo, false, true)

0 weapons found
-- Give weapon to player ped
GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_PISTOL"), 250, false, true)
Weapon NameHash

What this tool is for

Weapons in GTA V are addressed by hash, and the names behind them follow a fixed pattern: WEAPON_ plus the internal identifier. Which identifier belongs to which weapon is not obvious, and inventory configs, licence checks and damage logs all need it. This list has every weapon with its hash, grouped by type.

How to use it

  1. Step 1:

    Filter by type, for example pistols, rifles or melee.

  2. Step 2:

    Search by name if you know what the weapon is called in game.

  3. Step 3:

    Copy the name or the hash, depending on what your config expects.

  4. Step 4:

    Use GiveWeaponToPed with the hash, and remember the ammunition, which is a separate parameter.

Frequently asked questions

Why does my weapon have no ammunition?

GiveWeaponToPed takes the amount as its own parameter and it defaults to nothing. Pass a real number, or set it afterwards with AddAmmoToPed. A weapon without ammo looks like it was never given.

How do I find out which weapon a player is holding?

GetSelectedPedWeapon returns the hash of the current weapon, and the unarmed state has its own hash rather than being zero. Compare against that if you want to know whether someone has drawn anything at all.

Do weapon components have their own hashes?

Yes, attachments like scopes, suppressors and extended magazines are separate components with their own hashes and are added with GiveWeaponComponentToPed. The weapon has to be in the inventory first.

Can I remove weapons reliably?

RemoveWeaponFromPed takes a single weapon, RemoveAllPedWeapons clears everything. On a server with an inventory system, do it on the client that owns the ped, otherwise the change can be reverted by the next sync.