Neon in FiveM: spawn code, top speed and engine sound
The Pfister Neon spawns with neon. Below: its handling numbers explained and ranked against the Sports class, ready Lua spawn code, the three forms of its hash, how to use its sound on an add-on car, and its mod kit, colour and light ids.
neon
- Name in game
- Neon
- Maker (in game)
- Pfister
- Class
- Sports (6)
- Drive
- AWD, 1 gears
- Top-gear limit
- 188 km/h, 117 mph
- Weight
- 2,000 kg
- Seats
- 4
- Added in
- The Doomsday Heist (2017)
Generic sports outline, not the real model
How the Neon drives, in numbers
- All-wheel drive: fDriveBiasFront is 0.5, so 50% of the drive force goes to the front wheels and 50% to the rear. It has 1 forward gears.
- Top-gear limit: about 188 km/h (117 mph), from fInitialDriveMaxFlatVel 156.5 x 1.2. 35 of the 126 Sports vehicles in the game files have a higher limit; the class median is 182 km/h.
- Drive force per tonne: 0.125 (fInitialDriveForce 0.251 on 2,000 kg). That is 45% less than the Sports median of 0.23; it is a handling index for how hard it pulls for its weight, not horsepower.
- Brakes: fBrakeForce 1.3 with 60% of the braking on the front axle (class median 0.86).
- Grip: peak traction 2.275 and sliding traction 2.2 (fTractionCurveMax / Min). The gap of 0.075 is how much grip it loses once the tyres slide; 50% of the grip sits on the front axle.
- Weight: 2,000 kg, 33% heavier than the Sports median of 1,500 kg.
Against all 126 Sports vehicles in the game files
| handling.meta | Neon | Sports median | Difference |
|---|---|---|---|
| fMass | 2,000 kg | 1,500 kg | +33% |
| fInitialDriveMaxFlatVel | 156.5 | 152 | +3% |
| fInitialDriveForce | 0.251 | 0.33 | -24% |
| nInitialDriveGears | 1 | 6 | -83% |
| fDriveBiasFront | 0.5 | 0 | +0.5 |
| fDriveInertia | 1 | 1 | same |
| fInitialDragCoeff | 11 | 9.98 | +10% |
| fBrakeForce | 1.3 | 0.86 | +51% |
| fBrakeBiasFront | 0.6 | 0.52 | +15% |
| fHandBrakeForce | 0.5 | 0.65 | -22% |
| fSteeringLock | 40° | 40° | same |
| fTractionCurveMax | 2.275 | 2.513 | -9% |
| fTractionCurveMin | 2.2 | 2.295 | -4% |
| fTractionCurveLateral | 22.5° | 22.5° | same |
| fTractionBiasFront | 0.5 | 0.49 | +2% |
| fLowSpeedTractionLossMult | 1 | 1 | same |
| fSuspensionForce | 2.25 | 2.29 | -2% |
| fSuspensionRaise | 0 | 0 | same |
| fAntiRollBarForce | 0.7 | 0.77 | -9% |
| fDeformationDamageMult | 0.7 | 0.7 | same |
| AIHandling | AVERAGE | handlingName NEON | |
Spawn the Neon in FiveM
Client script (spawns it where the player stands and seats them in it):
local model = `neon` -- 0x91CA96EE
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
local ped = PlayerPedId()
local pos = GetEntityCoords(ped)
local veh = CreateVehicle(model, pos.x, pos.y, pos.z, GetEntityHeading(ped), true, false)
SetPedIntoVehicle(ped, veh, -1)
SetModelAsNoLongerNeeded(model)
Server script (OneSync, the server owns the entity; admin only through the ACE restriction):
RegisterCommand('spawnneon', function(source)
local ped = GetPlayerPed(source)
local pos = GetEntityCoords(ped)
local veh = CreateVehicleServerSetter(`neon`, 'automobile', pos.x, pos.y, pos.z, GetEntityHeading(ped))
while not DoesEntityExist(veh) do Wait(0) end
SetPedIntoVehicle(ped, veh, -1)
end, true)
- vMenu: Vehicle Spawner, then Spawn Vehicle By Model Name, type
neon. - txAdmin: in-game menu, Spawn Vehicle, type
neon. - QBCore / ESX:
/car neonfor admins. - The second argument of
CreateVehicleServerSetteris the vehicle type; for the Neon it isautomobile. A wrong type makes the server entity fail.
An add-on car that does not appear is a different problem (stream folder, data_file lines, model name): see FiveM car not spawning. All vanilla codes in one table: FiveM spawn codes list.
Hashes
| Form | Value | Where you meet it |
|---|---|---|
| Hex | 0x91CA96EE | CodeWalker, meta files, ymap entities |
| Unsigned | 2445973230 | C#, JavaScript, databases that store unsigned |
| Signed (int32) | -1848994066 | Lua GetEntityModel results, garage scripts that save the model as an int |
All three are the same number: the joaat (Jenkins one-at-a-time) hash of the lower case name, which is what GetHashKey('neon') and the Lua backtick form `neon` return.
Use the Neon engine sound on your car
The game has a car audio object named after this model, so one line in the vehicles.meta of an add-on car makes it use the Neon sound set:
<audioNameHash>neon</audioNameHash>
- Engine audio type: electric motor. Motor whine and no combustion sound.
- In our engine sound catalogue it is listed in the Electric family.
- The audio object is the whole vehicle sound: engine, horn, doors and radio genre change together. How it sounds on your car also depends on that car's gears and top speed.
Want a recorded engine instead of a GTA one? FiveM engine sounds lists 102 packs and the Soundpack Maker builds the resource.
Mod kit, colours and lights
- Mod kit id 261 (
261_neon_modkit): 30 visible parts. - 8 factory colour combinations in carvariations.meta.
- carvariations
lightSettings121: the headlight and taillight preset it reads from carcols. sirenSettings0 (no siren lights).- Plates: rear only (Standard White).
- Stock wheel category at the mod shop: Sport.
- Seat layout
LAYOUT_STD_NEON, 4 seats.
Visible mod parts by slot
- skirt 9
- bumper_f 6
- spoiler 6
- wing_l 5
- bonnet 2
- bumper_r 2
vehicles.meta flags
In plain words: appears as everyday traffic; appears as traffic in poor areas; electric.
All 4 flags
- FLAG_DISABLE_THROUGH_WINDSCREEN
- FLAG_AVERAGE_CAR
- FLAG_POOR_CAR
- FLAG_IS_ELECTRIC
Make an add-on car feel like the Neon
FiveMRides Vehicle Studio edits add-on car files in your browser (debadge, lights, seats, rims, tint, stance, exhaust, wraps and more) and gives you back a FiveM resource. Pair it with the sound line above to make your own car feel like this one. Your files, our tools; we never ship Rockstar models.
FiveMRides add-ons like this
Ready add-on cars from our shop for the same kind of vehicle. They install next to the vanilla Neon, they do not replace it.
Pfister Neon SUV Original price was: $10.00.$8.99Current price is: $8.99.
Honda NSX Type R Marga Hills Original price was: $12.00.$9.99Current price is: $9.99.
Lamborghini Aventador LP700 XK Original price was: $12.00.$9.99Current price is: $9.99.
Questions
What is the spawn code for the Neon in GTA 5 and FiveM?
The spawn code (model name) is neon. Its joaat hash is 0x91CA96EE (2445973230 as an unsigned number). Admin menus such as vMenu, txAdmin and the /car command of QBCore or ESX take the model name as it is.
How fast is the Neon in GTA 5?
Its handling gives a top-gear limit of about 188 km/h (117 mph): fInitialDriveMaxFlatVel 156.5 x 1.2, the value GetVehicleModelEstimatedMaxSpeed returns for ordinary handling values. Drag and upgrades change what a driver sees. It is AWD with 1 gears and weighs 2,000 kg.
Can I give an add-on car the Neon engine sound?
Yes. Put <audioNameHash>neon</audioNameHash> in the add-on car's vehicles.meta. The game then uses the Neon audio object, which is the whole vehicle sound: engine, horn, doors and radio genre change together.