Parity

SMG

WEAPON_SMG

SMG is a smg weapon in GTA V. In FiveM scripts it is WEAPON_SMG, hash 736523883.

Display name
SMG
Group
Smg
Damage per hit
22
Magazine
30
Fire rate
508 shots/min (0.118 s between shots)
Range
120 m
Damage type
Bullet
Hash
736523883
Signed hash
736523883
Hex
0x2BE6766B
SMG (WEAPON_SMG) 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_smg` and 736523883 are the same value.

lua
-- give the SMG with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_smg`, 250, false, true)

-- server side (OneSync), for player id src
GiveWeaponToPed(GetPlayerPed(src), `weapon_smg`, 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.