Parity

Stun Gun

WEAPON_STUNGUN_MP

Stun Gun is a stungun weapon in GTA V. In FiveM scripts it is WEAPON_STUNGUN_MP, hash 1171102963.

Display name
Stun Gun
Group
Stungun
Damage per hit
20
Magazine
2104529083
Fire rate
5 shots/min (12 s between shots)
Range
11 m
Damage type
Electric
Hash
1171102963
Signed hash
1171102963
Hex
0x45CD9CF3
Stun Gun (WEAPON_STUNGUN_MP) 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_stungun_mp` and 1171102963 are the same value.

lua
-- give the Stun Gun with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_stungun_mp`, 250, false, true)

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