Skip to main content

Job, gang and house garages

Job and gang garages

A garage with job or gang is open only to members at or above the given grade. With shared = true, every member sees every vehicle parked there, not just their own.
config.lua
job and gang can list several names, for example job = { police = 0, sheriff = 2 }. Gangs need a framework with gangs (QBCore or Qbox).

Job fleets

A fleet gives a job garage vehicles that nobody owns. Members take them out with Take Out next to each model, and only see the models their grade allows.
The Mission Row Police fleet
config.lua
Config.FleetLimit caps the fleet vehicles one player has out at the same time (1 by default, 0 = no limit). At the limit, the oldest one nobody is sitting in is returned when the player takes out a new one.

House garages

With Config.Housing, players get a garage at each house they own or have keys to. It is read from qb-houses, qs-housing or ps-housing when the player’s garage list loads.
config.lua
Start RoadGarage after your housing script. A player who loses a house loses its garage the next time the list loads. Other housing scripts can add garages themselves with the RegisterGarage export.