Parity

RPG

WEAPON_RPG

RPG is a heavy weapon in GTA V. In FiveM scripts it is WEAPON_RPG, hash 2982836145.

Display name
RPG
Group
Heavy
Damage per hit
0
Magazine
1
Fire rate
75 shots/min (0.8 s between shots)
Range
85 m
Damage type
Explosive
Hash
2982836145
Signed hash
-1312131151
Hex
0xB1CA77B1
RPG (WEAPON_RPG) 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_rpg` and 2982836145 are the same value.

lua
-- give the RPG with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_rpg`, 250, false, true)

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