Parity

Sweeper Shotgun

WEAPON_AUTOSHOTGUN

Sweeper Shotgun is a shotgun weapon in GTA V. In FiveM scripts it is WEAPON_AUTOSHOTGUN, hash 317205821.

Display name
Sweeper Shotgun
Group
Shotgun
Damage per hit
27
Magazine
10
Fire rate
163 shots/min (0.367 s between shots)
Range
40 m
Damage type
Bullet
Hash
317205821
Signed hash
317205821
Hex
0x12E82D3D
Sweeper Shotgun (WEAPON_AUTOSHOTGUN) 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_autoshotgun` and 317205821 are the same value.

lua
-- give the Sweeper Shotgun with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_autoshotgun`, 250, false, true)

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