Parity

Widowmaker

WEAPON_RAYMINIGUN

Widowmaker is a heavy weapon in GTA V. In FiveM scripts it is WEAPON_RAYMINIGUN, hash 3056410471.

Display name
Widowmaker
Group
Heavy
Damage per hit
30
Magazine
15000
Fire rate
3000 shots/min (0.02 s between shots)
Range
120 m
Damage type
Bullet
Hash
3056410471
Signed hash
-1238556825
Hex
0xB62D1F67
Widowmaker (WEAPON_RAYMINIGUN) 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_rayminigun` and 3056410471 are the same value.

lua
-- give the Widowmaker with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_rayminigun`, 250, false, true)

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