Parity

Mine

VEHICLE_WEAPON_MINE_SPIKE

Mine is a thrown weapon in GTA V. In FiveM scripts it is VEHICLE_WEAPON_MINE_SPIKE, hash 3647840364.

Display name
Mine
Group
Thrown
Damage per hit
0
Magazine
1
Range
30 m
Damage type
Explosive
Hash
3647840364
Signed hash
-647126932
Hex
0xD96DA06C
Mine (VEHICLE_WEAPON_MINE_SPIKE) 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_spike` and 3647840364 are the same value.

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

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