Vehicle access
Limiting a garage to certain models, certain vehicle types, or certain owners.
Access rules sit on the garage and are set in the builder under Setup. Three things can be limited: the model, the type, and who the vehicle belongs to.
By model
A whitelist lets only the listed models in. A blacklist lets everything in except the listed ones. Neither is on by default.
Models are picked in the builder, so there is no hash to look up.
By type
The type groups are the categories the builder offers. They come from Config.VehicleTypeGroups and the numbers are GTA's own vehicle types:
Config.VehicleTypeGroups = {
car = { label = "Cars", types = { 0, 5, 6 }, icon = "car" },
bike = { label = "Motorcycles", types = { 3, 7, 11 }, icon = "motorcycle" },
bicycle = { label = "Bicycles", types = { 12 }, icon = "bicycle" },
plane = { label = "Planes", types = { 1 }, icon = "plane" },
heli = { label = "Helicopters", types = { 8, 9 }, icon = "helicopter" },
boat = { label = "Boats", types = { 13, 15 }, icon = "ship" },
train = { label = "Trains", types = { 14 }, icon = "train" },
}A hangar that only takes planes and helicopters is two ticks in the builder. Adding a group of your own means adding an entry here with the type numbers it covers.
By owner, in a job garage
A job garage has one more question: whose vehicles may an employee park in it. Three switches, set per garage under Job Garage Settings:
| Own vehicles | the employee's own cars, on by default |
| Other players' vehicles | a car that belongs to somebody else, off by default |
| Unowned vehicles | anything without an owner, so service vehicles out of the world, off by default |
A police garage that should only ever hold cruisers taken from the fleet gets the first switch off and the third on.