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

Give it in a FiveM script
FiveM's Lua turns a name in backticks into its hash when the script loads, so `weapon_railgunxm3` and 4272043364 are the same value.
lua
-- give the Railgun with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_railgunxm3`, 250, false, true)
-- server side (OneSync), for player id src
GiveWeaponToPed(GetPlayerPed(src), `weapon_railgunxm3`, 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_RAILGUN
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.