FiveM Weapon Hash List
All GTA V weapon hashes for FiveM. Use with GiveWeaponToPed(ped, hash, ammo, false, true)
-- Give weapon to player ped
GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_PISTOL"), 250, false, true)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
- Step 1:
Filter by type, for example pistols, rifles or melee.
- Step 2:
Search by name if you know what the weapon is called in game.
- Step 3:
Copy the name or the hash, depending on what your config expects.
- 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.
Related tools
FiveM Hash Generator - joaat / GetHashKey
Generate FiveM hashes instantly using the joaat algorithm. Get decimal, hex (0x), unsigned decimal hashes. Batch mode for multiple inputs. Copy GetHashKey() Lua code.
FiveM Common String Hashes - Quick Reference Table
Searchable table of 200+ pre-computed FiveM string hashes. Vehicle models, ped models, weapon names, animation dictionaries. Instant search, click to copy.
FiveM Ped Model Browser - All GTA V Character Models
Browse all GTA V ped models for FiveM. Search by name, filter by category, copy model hashes. Male, Female, Animals, Emergency, Gang, Workers.