Parity

Elegy RH8

elegy2

Elegy RH8 is a sport car by Annis in GTA V. In FiveM scripts it is elegy2, hash 3728579874.

Display name
Elegy RH8
Make
Annis
Class
Sport
Type
Car
Hash
3728579874
Signed hash
-566387422
Hex
0xDE3D9D22
Elegy RH8 (elegy2) in GTA V

Spawn it in a FiveM script

FiveM's Lua turns a name in backticks into its hash when the script loads, so `elegy2` and 3728579874 are the same value. On ESX and QBCore servers, staff can usually spawn it with /car elegy2.

lua
-- client.lua: spawn the Elegy RH8 next to the player
local model = `elegy2`
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end

local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local vehicle = CreateVehicle(model, coords.x + 3.0, coords.y, coords.z, GetEntityHeading(ped), true, false)
SetModelAsNoLongerNeeded(model)

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 vehicles.