Service · Base game
Taxi
Spawn name

Identifiers
- Display name
- Taxi
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Class
- Service
- Type
- Car
- DLC
- Base game
- DLC pack
- Seats
- 4
Handling
- Top speed (handling)
- 189 km/h · 117 mph
- Drive
- RWD
- Gears
- 5
- Mass
- 1,400 kg
Spawn the Taxi in FiveM
local model = `taxi` -- 0xC703DB5F
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('taxi'); // 3338918751
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(`taxi`, 'automobile', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name taxi is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 3338918751.
vehicles.meta flags
FLAG_EXTRAS_TAXIFLAG_EXTRAS_REQUIREFLAG_NO_RESPRAYFLAG_DONT_SPAWN_IN_CARGENFLAG_BLOCK_FROM_ATTRACTOR_SCENARIOFLAG_HAS_INTERIOR_EXTRAS






