Ocelot · Super · Gunrunning
Ocelot XA-21
Spawn name

Identifiers
- Display name
- XA-21
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Make
- Ocelot
- Class
- Super
- Type
- Car
- DLC
- Gunrunning
- DLC pack
- Seats
- 2
Handling
- Top speed (handling)
- 210 km/h · 131 mph
- Drive
- AWD
- Gears
- 6
- Mass
- 1,450 kg
Spawn the XA-21 in FiveM
local model = `xa21` -- 0x36B4A8A9
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('xa21'); // 917809321
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(`xa21`, 'automobile', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name xa21 is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 917809321.
vehicles.meta flags
FLAG_SPORTSFLAG_RICH_CARFLAG_RECESSED_HEADLIGHT_CORONASFLAG_NO_BROKEN_DOWN_SCENARIOFLAG_COUNT_AS_FACEBOOK_DRIVENFLAG_CARGOBOB_HOOK_UP_CHASSISFLAG_HAS_GULL_WING_DOORSFLAG_FRONT_BOOT






