SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
    • Installation
    • Config File
    • Vehicle Routes
    • Level Achievements
    • Server Configuration
    • Locales
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Bus Job
  3. /Vehicle Routes

Bus Job

Vehicle Routes

Configure Bus Job vehicles, route data, stop order, time limits, and night routes for FiveM ESX.

On this page3 sections
  • Vehicles and Routes
  • Vehicles
  • Routes

Vehicles and RoutesLink copied

Use this page to configure available buses and route definitions.

Keep route IDs unique and use valid GTA vehicle spawn names.

VehiclesLink copied

Lua
Config.Vehicle = {    { Model = "bus",     Label = "City Bus",  Capacity = 40, Speed = 90,  Level = 0  },    { Model = "tourbus", Label = "Tour Bus",  Capacity = 30, Speed = 110, Level = 5  },    { Model = "airbus",  Label = "Long Bus",  Capacity = 60, Speed = 85,  Level = 10 },}
FieldDescription
ModelGTA vehicle spawn name
LabelDisplay name shown in the menu
CapacityMax passengers the vehicle can carry
SpeedDisplayed max speed (km/h) - cosmetic only
LevelMinimum player level required to use this vehicle

You can add as many vehicles as you want.

Make sure Model matches a valid GTA or add-on spawn name.

RoutesLink copied

Lua
Config.Route = {    {        Id       = 1,        Name     = "Line 1 - Downtown",        Level    = 0,        Time     = nil,        Distance = 8.5,        Duration = 25,        Payment  = { Min = 420, Max = 680 },        Stops    = {            { Pos = vec3(463.16, -611.99, 28.49), Name = "Depot"  },            { Pos = vec3(305.64, -760.84, 29.31), Name = "Stop 1" },            { Pos = vec3(463.16, -611.99, 28.49), Name = "Return" },        },    },}
FieldDescription
IdUnique numeric ID - never duplicate
NameRoute name shown in the menu
LevelMinimum player level to unlock this route
TimeHours available. nil = always. Use { From = 22, To = 6 } for night-only routes
DistanceDisplayed in the menu - does not affect gameplay
DurationDisplayed in the menu - does not affect gameplay
PaymentBase pay range for the whole route
StopsOrdered stop list. The last stop is the terminal - all passengers exit, nobody boards

Per-stop time limit

Each stop supports an optional TimeLimit field (in seconds) that overrides Config.StopTimeLimit:

Lua
{ Pos = vec3(305.64, -760.84, 29.31), Name = "Stop 1", TimeLimit = 120 },

Night-only route example

Lua
Time = { From = 22, To = 6 },  -- available 22:00 β†’ 06:00

Stop order matters. The last stop is always treated as the terminal.

← PreviousConfig FileBus JobNext β†’Level AchievementsBus Job

On this page

  • Vehicles and Routes
  • Vehicles
  • Routes
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex