Parity

Sawed-Off Shotgun

WEAPON_SAWNOFFSHOTGUN

Sawed-Off Shotgun is a shotgun weapon in GTA V. In FiveM scripts it is WEAPON_SAWNOFFSHOTGUN, hash 2017895192.

Display name
Sawed-Off Shotgun
Group
Shotgun
Damage per hit
40
Magazine
8
Fire rate
60 shots/min (1 s between shots)
Range
40 m
Damage type
Bullet
Hash
2017895192
Signed hash
2017895192
Hex
0x7846A318
Sawed-Off Shotgun (WEAPON_SAWNOFFSHOTGUN) 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_sawnoffshotgun` and 2017895192 are the same value.

lua
-- give the Sawed-Off Shotgun with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_sawnoffshotgun`, 250, false, true)

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