Configuration
Garages
Learn how to configure garages in your resource.
Creating a New Garage
Follow these steps to add a new garage to your resource:
- Open the
config.garages.luafile in the resource folder. - Locate the
Config.Garagestable. - Add a new entry in the table, structured as follows:
Click here to explore additional configuration options.
- Replace
'garage_name'with a unique identifier. This must not match any other garage. - Replace
'Garage Title'with the display name of the garage. - Replace
x,y,z, andheadingwith the garage's coordinates and vehicle orientation. - Set
interiorto one of the available options:low,mid,mid2,high,tuner, orparking_garage. - Save the file and restart the resource.
Changing the Default Garage Blip
To modify the default blip settings for garages:
- Open the
config.garages.luafile in the resource folder. - Locate the
Config.GarageBliptable. - Adjust the values as needed:
You can find a full list of available blip icons and their corresponding IDs here.
- Save the file and restart the resource.
Garage Configuration Reference
Garage Table Properties
| Prop | Type | Default |
|---|---|---|
name | string | - |
title | string | - |
coords | vector4 | - |
enterDistance | number | 1.0 |
interior | string | low |
noBlip | boolean | false |
requiredJob | string | - |
cameraHeight | number | 10.0 |
blip | Blip Table | - |
Blip Table Properties
| Prop | Type | Default |
|---|---|---|
sprite | number | - |
scale | number | - |
color | number | - |
title | string | - |