Parity

Tank Cannon

VEHICLE_WEAPON_TITAN2_105MM

Tank Cannon is a weapon in GTA V. In FiveM scripts it is VEHICLE_WEAPON_TITAN2_105MM, hash 3366926666.

Display name
Tank Cannon
Damage per hit
0
Magazine
1
Fire rate
60 shots/min (1 s between shots)
Range
500 m
Damage type
Explosive
Hash
3366926666
Signed hash
-928040630
Hex
0xC8AF394A

Give it in a FiveM script

FiveM's Lua turns a name in backticks into its hash when the script loads, so `vehicle_weapon_titan2_105mm` and 3366926666 are the same value.

lua
-- give the Tank Cannon with 250 rounds
GiveWeaponToPed(PlayerPedId(), `vehicle_weapon_titan2_105mm`, 250, false, true)

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