Parity

Marksman Rifle Mk II

WEAPON_MARKSMANRIFLE_MK2

Marksman Rifle Mk II is a sniper weapon in GTA V. In FiveM scripts it is WEAPON_MARKSMANRIFLE_MK2, hash 1785463520.

Display name
Marksman Rifle Mk II
Group
Sniper
Damage per hit
75
Magazine
8
Fire rate
200 shots/min (0.3 s between shots)
Range
1000 m
Damage type
Bullet
Hash
1785463520
Signed hash
1785463520
Hex
0x6A6C02E0
Marksman Rifle Mk II (WEAPON_MARKSMANRIFLE_MK2) 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_marksmanrifle_mk2` and 1785463520 are the same value.

lua
-- give the Marksman Rifle Mk II with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_marksmanrifle_mk2`, 250, false, true)

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