Progen · Open Wheel · The Diamond Casino Heist
Progen PR4
Spawn name

Identifiers
- Display name
- PR4
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Make
- Progen
- Class
- Open Wheel
- Type
- Car
- DLC
- The Diamond Casino Heist
- DLC pack
Handling
- Top speed (handling)
- 214 km/h · 133 mph
- Drive
- RWD
- Gears
- 6
- Mass
- 505 kg
Spawn the PR4 in FiveM
local model = `formula` -- 0x1446590A
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('formula'); // 340154634
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(`formula`, 'automobile', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name formula is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 340154634.
vehicles.meta flags
FLAG_EXTRAS_ALLFLAG_NO_BOOTFLAG_AVERAGE_CARFLAG_POOR_CARFLAG_PEDS_INSIDE_CAN_BE_SET_ON_FIRE_MPFLAG_DONT_TIMESLICE_WHEELSFLAG_IS_FORMULA_VEHICLE



