Railgun
WEAPON_RAILGUN
Railgun is a heavy weapon in GTA V. In FiveM scripts it is WEAPON_RAILGUN, hash 1834241177.
- Display name
- Railgun
- Group
- Heavy
- Damage per hit
- 30
- Magazine
- 1
- Fire rate
- 30 shots/min (2 s between shots)
- Range
- 500 m
- Damage type
- Explosive
- Hash
- 1834241177
- Signed hash
- 1834241177
- Hex
- 0x6D544C99

Give it in a FiveM script
FiveM's Lua turns a name in backticks into its hash when the script loads, so `weapon_railgun` and 1834241177 are the same value.
lua
-- give the Railgun with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_railgun`, 250, false, true)
-- server side (OneSync), for player id src
GiveWeaponToPed(GetPlayerPed(src), `weapon_railgun`, 250, false, true)More heavy weapons
WEAPON_AIRSTRIKE_ROCKETWEAPON_AIRSTRIKE_ROCKET
Compact Grenade LauncherWEAPON_COMPACTLAUNCHER
Compact EMP LauncherWEAPON_EMPLAUNCHER
Firework LauncherWEAPON_FIREWORK
Grenade LauncherWEAPON_GRENADELAUNCHER
Tear Gas LauncherWEAPON_GRENADELAUNCHER_SMOKE
Homing LauncherWEAPON_HOMINGLAUNCHER
MinigunWEAPON_MINIGUN
WEAPON_PASSENGER_ROCKETWEAPON_PASSENGER_ROCKET
RailgunWEAPON_RAILGUNXM3
WidowmakerWEAPON_RAYMINIGUN
RPGWEAPON_RPG
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.