Parity

Mine

VEHICLE_WEAPON_MINE_TAR

Mine is a thrown weapon in GTA V. In FiveM scripts it is VEHICLE_WEAPON_MINE_TAR, hash 4097936288.

Display name
Mine
Group
Thrown
Damage per hit
0
Magazine
1
Range
30 m
Damage type
Explosive
Hash
4097936288
Signed hash
-197031008
Hex
0xF4418BA0
Mine (VEHICLE_WEAPON_MINE_TAR) 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 `vehicle_weapon_mine_tar` and 4097936288 are the same value.

lua
-- give the Mine with 250 rounds
GiveWeaponToPed(PlayerPedId(), `vehicle_weapon_mine_tar`, 250, false, true)

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