Declasse · Off-Road · Base game
Declasse Rancher XL
Spawn name

Identifiers
- Display name
- Rancher XL
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Make
- Declasse
- Class
- Off-Road
- Type
- Car
- DLC
- Base game
- DLC pack
- Seats
- 4
Handling
- Top speed (handling)
- 172 km/h · 107 mph
- Drive
- AWD
- Gears
- 5
- Mass
- 2,400 kg
Spawn the Rancher XL in FiveM
local model = `rancherxl2` -- 0x7341576B
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local vehicle = CreateVehicle(model, coords.x, coords.y, coords.z, GetEntityHeading(ped), true, false)
SetPedIntoVehicle(ped, vehicle, -1)
SetModelAsNoLongerNeeded(model)const model = GetHashKey('rancherxl2'); // 1933662059
RequestModel(model);
while (!HasModelLoaded(model)) await new Promise((r) => setTimeout(r, 0));
const ped = PlayerPedId();
const [x, y, z] = GetEntityCoords(ped, true);
const vehicle = CreateVehicle(model, x, y, z, GetEntityHeading(ped), true, false);
SetPedIntoVehicle(ped, vehicle, -1);
SetModelAsNoLongerNeeded(model);-- server side (OneSync): the vehicle exists for everyone, even far away
local ped = GetPlayerPed(source)
local coords = GetEntityCoords(ped)
local vehicle = CreateVehicleServerSetter(`rancherxl2`, 'automobile', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name rancherxl2 is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 1933662059.
vehicles.meta flags
FLAG_AVERAGE_CARFLAG_POOR_CARFLAG_IS_BULKYFLAG_EXTRAS_REQUIREFLAG_HAS_INTERIOR_EXTRAS
Open the Rancher XL in the Vehicle EditorThe original GTA model opens as a new project: remove badges, add parts, lights and paint, change handling, and export it as a FiveM resource.Make a livery for the Rancher XLThe original model opens in the Livery Mapper: pick the panels, paint or generate the livery, export it for FiveM.






