Press Enter to search

GTA 5 vehicle data

Ambulance in FiveM: spawn code, top speed and engine sound

The Ambulance spawns with ambulance. Below: its handling numbers explained and ranked against the Emergency 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.

Read from the game files of GTA V Legacy build 1.0.3889.0 on . It already exists in game build 3258, the build many FiveM servers enforce. By the FiveMRides team.

ambulance

Name in game
Ambulance
Class
Emergency (18)
Drive
AWD, 5 gears
Top-gear limit
168 km/h, 104 mph
Weight
2,500 kg
Seats
4
Added in
Base game (2013)

Generic emergency outline, not the real model

How the Ambulance 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 5 forward gears.
  • Top-gear limit: about 168 km/h (104 mph), from fInitialDriveMaxFlatVel 140 x 1.2. 19 of the 35 Emergency vehicles in the game files have a higher limit; the class median is 172 km/h.
  • Drive force per tonne: 0.072 (fInitialDriveForce 0.18 on 2,500 kg). That is 50% less than the Emergency median of 0.143; it is a handling index for how hard it pulls for its weight, not horsepower.
  • Brakes: fBrakeForce 0.6 with 65% of the braking on the front axle (class median 0.8).
  • Grip: peak traction 1.95 and sliding traction 1.7 (fTractionCurveMax / Min). The gap of 0.25 is how much grip it loses once the tyres slide; 49% of the grip sits on the front axle.
  • Weight: 2,500 kg, 34% heavier than the Emergency median of 1,860 kg.

Against all 35 Emergency vehicles in the game files

Ambulance handling compared with the Emergency classEach bar runs from the lowest to the highest value in the Emergency class (35 vehicles). The filled part ends at this vehicle, the light tick is the class median.lowest in classhighest in classTop-gear limit: 168 km/h. Emergency median 172 km/h, range 108 to 192. Rank 20 of 35 (1 = highest).Top-gear limitrank 20 of 35168 km/hmedian 172Drive force per tonne: 0.072. Emergency median 0.143, range 0.013 to 1.08. Rank 30 of 35 (1 = highest).Drive force per tonnerank 30 of 350.072median 0.143Brake force: 0.6. Emergency median 0.8, range 0.25 to 1.2. Rank 24 of 35 (1 = highest).Brake forcerank 24 of 350.6median 0.8Peak grip: 1.95. Emergency median 2.15, range 1.35 to 2.77. Rank 26 of 35 (1 = highest).Peak griprank 26 of 351.95median 2.15Weight: 2,500 kg. Emergency median 1,860 kg, range 250 to 12,500. Rank 6 of 35 (1 = highest).Weightrank 6 of 352,500 kgmedian 1,860

The bar runs from the lowest to the highest value in the class, the filled part ends at the Ambulance, the light tick is the class median. Hover a row for the numbers. Stock values without upgrades.

handling.metaAmbulanceEmergency medianDifference
fMass2,500 kg1,860 kg+34%
fInitialDriveMaxFlatVel140143-2%
fInitialDriveForce0.180.24-25%
nInitialDriveGears55same
fDriveBiasFront0.50+0.5
fDriveInertia11same
fInitialDragCoeff68.5-29%
fBrakeForce0.60.8-25%
fBrakeBiasFront0.650.53+24%
fHandBrakeForce0.40.6-33%
fSteeringLock35°40°-13%
fTractionCurveMax1.952.15-9%
fTractionCurveMin1.71.85-8%
fTractionCurveLateral20°22.5°-11%
fTractionBiasFront0.4850.485same
fLowSpeedTractionLossMult0.51-50%
fSuspensionForce1.41.9-26%
fSuspensionRaise00same
fAntiRollBarForce0.650.56+16%
fDeformationDamageMult0.80.8same
AIHandlingAVERAGEhandlingName AMBULAN

What each field does: handling.meta fields explained.

Spawn the Ambulance in FiveM

Client script (spawns it where the player stands and seats them in it):

local model = `ambulance` -- 0x45D56ADA
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('spawnambulance', function(source)
    local ped = GetPlayerPed(source)
    local pos = GetEntityCoords(ped)
    local veh = CreateVehicleServerSetter(`ambulance`, '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 ambulance.
  • txAdmin: in-game menu, Spawn Vehicle, type ambulance.
  • QBCore / ESX: /car ambulance for admins.
  • The second argument of CreateVehicleServerSetter is the vehicle type; for the Ambulance it is automobile. 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

FormValueWhere you meet it
Hex0x45D56ADACodeWalker, meta files, ymap entities
Unsigned1171614426C#, JavaScript, databases that store unsigned
Signed (int32)1171614426Lua 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('ambulance') and the Lua backtick form `ambulance` return.

Use the Ambulance 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 Ambulance sound set:

<audioNameHash>ambulance</audioNameHash>
  • Engine audio type: classic. The older loop based engine audio, common on trucks and older vehicles.
  • This object also holds siren sounds. Server owners usually keep emergency audio on emergency vehicles.
  • 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 0: no visible body parts, performance upgrades only.
  • 1 factory colour combinations in carvariations.meta.
  • carvariations lightSettings 22: the headlight and taillight preset it reads from carcols.
  • sirenSettings 4: the siren light setup it uses. An add-on that reuses this id shares that setup.
  • Plates: front and rear.
  • Stock wheel category at the mod shop: Sport.
  • Seat layout LAYOUT_VAN, 4 seats.

vehicles.meta flags

In plain words: no boot; uses livery textures; counts as an emergency service vehicle; cannot be resprayed; never placed as a parked car by the game.

All 9 flags
  • FLAG_BIG
  • FLAG_NO_BOOT
  • FLAG_AVOID_TURNS
  • FLAG_HAS_LIVERY
  • FLAG_PEDS_CAN_STAND_ON_TOP
  • FLAG_EMERGENCY_SERVICE
  • FLAG_NO_RESPRAY
  • FLAG_DONT_SPAWN_IN_CARGEN
  • FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO

Make an add-on car feel like the Ambulance

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.

Open Vehicle StudioSee the add-ons

FiveMRides add-ons like this

Ready add-on cars from our shop for the same kind of vehicle. They install next to the vanilla Ambulance, they do not replace it.

Questions

What is the spawn code for the Ambulance in GTA 5 and FiveM?

The spawn code (model name) is ambulance. Its joaat hash is 0x45D56ADA (1171614426 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 Ambulance in GTA 5?

Its handling gives a top-gear limit of about 168 km/h (104 mph): fInitialDriveMaxFlatVel 140 x 1.2, the value GetVehicleModelEstimatedMaxSpeed returns for ordinary handling values. Drag and upgrades change what a driver sees. It is AWD with 5 gears and weighs 2,500 kg.

Can I give an add-on car the Ambulance engine sound?

Yes. Put <audioNameHash>ambulance</audioNameHash> in the add-on car's vehicles.meta. The game then uses the Ambulance audio object, which is the whole vehicle sound: engine, horn, doors and radio genre change together. This object also holds siren sounds.

Numbers read from the game files, nothing measured on a track yet: how this data is read.

More Emergency vehicles

FiveMRides is an independent store. We are not affiliated with, endorsed by or sponsored by Take-Two Interactive, Rockstar Games or Cfx.re. Grand Theft Auto, GTA and FiveM are trademarks of their respective owners, and vehicle brand names are used only to describe the models.

Scroll to Top