Parity

The Shocker

WEAPON_STUNROD

The Shocker is a melee weapon in GTA V. In FiveM scripts it is WEAPON_STUNROD, hash 3670016037.

Display name
The Shocker
Group
Melee
Damage per hit
0
Magazine
0
Fire rate
5 shots/min (12 s between shots)
Range
1.6 m
Damage type
Electric
Hash
3670016037
Signed hash
-624951259
Hex
0xDAC00025
The Shocker (WEAPON_STUNROD) 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_stunrod` and 3670016037 are the same value.

lua
-- give the The Shocker with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_stunrod`, 250, false, true)

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