Parity

Compact Grenade Launcher

WEAPON_COMPACTLAUNCHER

Compact Grenade Launcher is a heavy weapon in GTA V. In FiveM scripts it is WEAPON_COMPACTLAUNCHER, hash 125959754.

Display name
Compact Grenade Launcher
Group
Heavy
Damage per hit
0
Magazine
1
Fire rate
49 shots/min (1.22 s between shots)
Range
150 m
Damage type
Explosive
Hash
125959754
Signed hash
125959754
Hex
0x0781FE4A
Compact Grenade Launcher (WEAPON_COMPACTLAUNCHER) 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_compactlauncher` and 125959754 are the same value.

lua
-- give the Compact Grenade Launcher with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_compactlauncher`, 250, false, true)

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