Press Enter to search

GTA 5 vehicle data

Sandking XL in FiveM: spawn code, top speed and engine sound

The Vapid Sandking XL spawns with sandking. Below: its handling numbers explained and ranked against the Off-Road 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.

sandking

Name in game
Sandking XL
Maker (in game)
Vapid
Class
Off-Road (9)
Drive
AWD, 6 gears
Top-gear limit
156 km/h, 97 mph
Weight
2,400 kg
Seats
4
Added in
Base game (2013)

Generic off-road outline, not the real model

How the Sandking XL drives, in numbers

  • All-wheel drive: fDriveBiasFront is 0.35, so 35% of the drive force goes to the front wheels and 65% to the rear. It has 6 forward gears.
  • Top-gear limit: about 156 km/h (97 mph), from fInitialDriveMaxFlatVel 130 x 1.2. 35 of the 68 Off-Road vehicles in the game files have a higher limit; the class median is 159 km/h.
  • Drive force per tonne: 0.083 (fInitialDriveForce 0.2 on 2,400 kg). That is 23% less than the Off-Road median of 0.109; 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.6).
  • Grip: peak traction 2 and sliding traction 1.7 (fTractionCurveMax / Min). The gap of 0.3 is how much grip it loses once the tyres slide; 50% of the grip sits on the front axle.
  • Weight: 2,400 kg, 3% heavier than the Off-Road median of 2,325 kg.

Against all 68 Off-Road vehicles in the game files

Sandking XL handling compared with the Off-Road classEach bar runs from the lowest to the highest value in the Off-Road class (68 vehicles). The filled part ends at this vehicle, the light tick is the class median.lowest in classhighest in classTop-gear limit: 156 km/h. Off-Road median 159 km/h, range 96 to 180. Rank 36 of 68 (1 = highest).Top-gear limitrank 36 of 68156 km/hmedian 159Drive force per tonne: 0.083. Off-Road median 0.109, range 0.028 to 1.647. Rank 43 of 68 (1 = highest).Drive force per tonnerank 43 of 680.083median 0.109Brake force: 0.6. Off-Road median 0.6, range 0.26 to 1.1. Rank 28 of 68 (1 = highest).Brake forcerank 28 of 680.6median 0.6Peak grip: 2. Off-Road median 2.05, range 1.53 to 2.95. Rank 41 of 68 (1 = highest).Peak griprank 41 of 682median 2.05Weight: 2,400 kg. Off-Road median 2,325 kg, range 85 to 8,600. Rank 27 of 68 (1 = highest).Weightrank 27 of 682,400 kgmedian 2,325

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

handling.metaSandking XLOff-Road medianDifference
fMass2,400 kg2,325 kg+3%
fInitialDriveMaxFlatVel130132.5-2%
fInitialDriveForce0.20.258-22%
nInitialDriveGears65+20%
fDriveBiasFront0.350.35same
fDriveInertia11same
fInitialDragCoeff811-27%
fBrakeForce0.60.6same
fBrakeBiasFront0.650.62+5%
fHandBrakeForce0.450.45same
fSteeringLock35°36°-3%
fTractionCurveMax22.05-2%
fTractionCurveMin1.71.835-7%
fTractionCurveLateral19°20°-5%
fTractionBiasFront0.50.498+1%
fLowSpeedTractionLossMult0.851-15%
fSuspensionForce1.41.75-20%
fSuspensionRaise00same
fAntiRollBarForce0.40.6-33%
fDeformationDamageMult0.80.8same
AIHandlingAVERAGEhandlingName SANDKING

What each field does: handling.meta fields explained.

Spawn the Sandking XL in FiveM

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

local model = `sandking` -- 0xB9210FD0
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('spawnsandking', function(source)
    local ped = GetPlayerPed(source)
    local pos = GetEntityCoords(ped)
    local veh = CreateVehicleServerSetter(`sandking`, '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 sandking.
  • txAdmin: in-game menu, Spawn Vehicle, type sandking.
  • QBCore / ESX: /car sandking for admins.
  • The second argument of CreateVehicleServerSetter is the vehicle type; for the Sandking XL 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
Hex0xB9210FD0CodeWalker, meta files, ymap entities
Unsigned3105951696C#, JavaScript, databases that store unsigned
Signed (int32)-1189015600Lua 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('sandking') and the Lua backtick form `sandking` return.

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

<audioNameHash>sandking</audioNameHash>
  • Engine audio type: granular. Recorded engine samples blended by engine speed, the type most modern GTA cars use.
  • 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 59: 13 visible parts.
  • 15 factory colour combinations in carvariations.meta.
  • carvariations lightSettings 44: the headlight and taillight preset it reads from carcols.
  • sirenSettings 0 (no siren lights).
  • Plates: front and rear.
  • Stock wheel category at the mod shop: SUV.
  • Seat layout LAYOUT_RANGER_SANDKING, 4 seats.
Visible mod parts by slot
  • chassis 4
  • bumper_f 4
  • skirt 2
  • grill 2
  • roof 1

vehicles.meta flags

In plain words: appears as everyday traffic; appears as traffic in poor areas; treated as an off-road vehicle.

All 6 flags
  • FLAG_AVERAGE_CAR
  • FLAG_POOR_CAR
  • FLAG_IS_OFFROAD_VEHICLE
  • FLAG_HEADLIGHTS_USE_ACTUAL_BONE_POS
  • FLAG_IS_BULKY
  • FLAG_HAS_INTERIOR_EXTRAS

Make an add-on car feel like the Sandking XL

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 Sandking XL, they do not replace it.

Questions

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

The spawn code (model name) is sandking. Its joaat hash is 0xB9210FD0 (3105951696 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 Sandking XL in GTA 5?

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

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

Yes. Put <audioNameHash>sandking</audioNameHash> in the add-on car's vehicles.meta. The game then uses the Sandking XL audio object, which is the whole vehicle sound: engine, horn, doors and radio genre change together.

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

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