Western · Motorcycles · Bikers
Western Rat Bike
Spawn name

Identifiers
- Display name
- Rat Bike
- Spawn name
- Hash
- Int32 hash
- Hex hash
- Make
- Western
- Class
- Motorcycles
- Type
- Bike
- DLC
- Bikers
- DLC pack
- Seats
- 2
Handling
- Top speed (handling)
- 172 km/h · 107 mph
- Drive
- RWD
- Gears
- 5
- Mass
- 180 kg
Spawn the Rat Bike in FiveM
local model = `ratbike` -- 0x6FACDF31
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('ratbike'); // 1873600305
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(`ratbike`, 'bike', coords.x, coords.y, coords.z, GetEntityHeading(ped))In a FiveM console with a vehicle spawner (vMenu, txAdmin) the spawn name ratbike is all you need. Backticks in Lua turn the name into its hash at compile time, the same number as 1873600305.
vehicles.meta flags
FLAG_NO_BOOTFLAG_EXTRAS_REQUIREFLAG_EXTRAS_STRONGFLAG_IGNORE_ON_SIDE_CHECKFLAG_AVERAGE_CARFLAG_HEADLIGHTS_USE_ACTUAL_BONE_POSFLAG_BIKE_CLAMP_PICKUP_LEAN_RATE
Open the Rat Bike 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 Rat BikeThe original model opens in the Livery Mapper: pick the panels, paint or generate the livery, export it for FiveM.






