Parity

MG

WEAPON_MG

MG is a mg weapon in GTA V. In FiveM scripts it is WEAPON_MG, hash 2634544996.

Display name
MG
Group
Mg
Damage per hit
40
Magazine
54
Fire rate
438 shots/min (0.137 s between shots)
Range
120 m
Damage type
Bullet
Hash
2634544996
Signed hash
-1660422300
Hex
0x9D07F764
MG (WEAPON_MG) 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_mg` and 2634544996 are the same value.

lua
-- give the MG with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_mg`, 250, false, true)

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